Reputation: 254
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) 320x480 (Samsung Galaxy ACE)
2) 480x800 (Samsung Nexus S)
3) 600x1024 (Samsung Galaxy Tab 7in)
How do I classify the folder names for Layout and Drawable as well?
Currently I am using:-
For 320x480 : layout-mdpi, drawable-mdpi
For 480x800 : layout-hdpi, drawable-hdpi
For 600x1024 : layout-large, drawable-large
Only the 320x480 resolution is working fine.
Please help.
Upvotes: 3
Views: 1585
Reputation: 42026
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.
Upvotes: 4