I am developing an app that support multiple resolutions. I have been through the http://developer.android.com/guide/practices/screens_support.html but couldn’t find the solution.
The resolutions are :
1) 320×480 (Samsung Galaxy ACE)
2) 480×800 (Samsung Nexus S)
3) 600×1024 (Samsung Galaxy Tab 7in)
How do I classify the folder names for Layout and Drawable as well?
Currently I am using:-
For 320×480 : layout-mdpi, drawable-mdpi
For 480×800 : layout-hdpi, drawable-hdpi
For 600×1024 : layout-large, drawable-large
Only the 320×480 resolution is working fine.
Please help.
Instead using xhdpi, hdpi, mdpi, sdpi try to use small, normal, large, xlarge.
Every device has it own density, sometimes large device having less density and vice versa, So just try to use drawble(outside category), drawble-small, drawble-normal, drawble-large and layout(outside category), layout-small,
layout-normal, layout-large.