Different display resolutions on android phones -


how application make sure looks on mobile android phone (there several manufacturers, , each phone has different specifications).

there 3 different screen sizes. create 3 folders named that:

res/drawable-ldpi/my_icon.png       // icon image low density res/drawable-mdpi/dpi/my_icon.png   // icon medium density res/drawable-hdpi/my_icon.png       // icon image high density 

and put each screen-size right images. possible layouts:

res/layout/my_layout.xml            // layout normal screen size res/layout-small/my_layout.xml      // layout small screen size res/layout-large/my_layout.xml      // layout large screen size 

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


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -