• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

(Android) Main image gets cut off when going to bigger screens or switch from portrait to landscape

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, I just learned how to make a simple business card app and decided to make one myself. However, the main image always gets cut off. This is watch I want it to look like-
---On a small phone, portrait mode(http://imgur.com/zKabQeY)
---On a small phone, landscape mode(http://imgur.com/j7U12Ik)
---On a tablet, portrait mode (http://imgur.com/cPM8rA0)
---On a tablet, landscape mode(http://imgur.com/e8EUbGf)
if anyone has any suggestion, please feel free to help me out. Thank you. Also I want to ask what this mean?
"Layout scales responsively for screen sizes in portrait mode, with no part of any images only partially visible. Student is not responsible for responsive design in landscape mode." I know what it is asking but just want some confirmation.
Also, someone please look at these codes and tell me if I have met all the requirements here(https://review.udacity.com/#!/rubrics/133/view)
code_part1(http://imgur.com/j6ORuPu)
code_part2(http://imgur.com/YcckM7B)
code_part3(http://imgur.com/AxL6afc)
Thank you for helping me out. I don't have any money to take the course, so this one of the only ways I could think of for some validation, so I could move on to the next part. Thank you very much.
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to scale the image the maintaining the aspect ratio with the screen.
reply
    Bookmark Topic Watch Topic
  • New Topic