The Android application looks strange on the phone with a different resolution

advertisements

it's the first time I design an app for android and my problem is that when I test the app on a phone with 5" (480 x 800 resolution) the app looks weird and all the icons interfere with each other. However; when I test this app with a 5" (720 x 1280 resolution) the app looks great. I know how to make a different layout for each screen size but I don't know the relation between screen resolution and layouts since both screens are considered "large"

Thanks in advance


  • xlarge screens are at least 960dp x 720dp
  • large screens are at least 640dp x 480dp
  • normal screens are at least 470dp x 320dp
  • small screens are at least 426dp x 320dp

Create a folder named layout-large and put there your layout for large screen (720x1280) and for the normal screen (480x800) put the layout file in layout folder.

Read more http://developer.android.com/guide/practices/screens_support.html

or

Android design supporting many kinds of screen