Android applies styles for different screens

I have an application that needs to be run on two different devices: 600x1024 and 480x800 .

For these devices, I want to use different styles (they have a different ratio). How can I do this since both of them have hdpi ?, for example. values-hdpi , values-mdpi have no effect ....

PS Android 2.2 .

+7
source share
1 answer

Take a look at the available resource directory classifiers . There are also screen size qualifiers that you can use.

In your case, you need the qualifiers large and xlarge . Try it.

+4
source

All Articles