Android apply styles for different screens

I have an application, that need to run in 2 different devices: 600x1024 & 480x800 .

For these devices, I want to apply different styles (they has different ratio). How I can do it, as both of them has hdpi?, eg values-hdpi , values-mdpi have no effect....

PS Android 2.2 .


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

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

链接地址: http://www.djcxy.com/p/49756.html

上一篇: HTML5离线缓存程序化过期

下一篇: Android为不同的屏幕应用样式