[英]Configuration qualifiers for 320x480 Android (Galaxy Ace)
I have an application that I am struggling to make look right on a Galaxy Ace 320*480 mdpi. 我有一个应用程序正在努力使它们在Galaxy Ace 320 * 480 mdpi上显示正确。
Using drawable-sw320dp-mdpi seems to effect most of the other screens such as the Galaxy S2 (480*800 hpdi) even though I have a drawable-sw480dp etc which should be used automatically on higher res? 使用drawable-sw320dp-mdpi似乎会影响大多数其他屏幕,例如Galaxy S2(480 * 800 hpdi),即使我有drawable-sw480dp等也应自动在更高分辨率下使用?
Really confused with this, any help is appreciated. 对此确实感到困惑,我们将不胜感激。
My guess is if it's not showing up right on the Ace, that it's identifying itself as a different screen size/density than you think it should be. 我的猜测是,如果它没有正确显示在Ace上,它会将自己标识为与您认为应该不同的屏幕尺寸/密度。 My guess is that it's actually a lower density than you think, but without some kind of screen shots or further description on what you're seeing I don't know anyone can offer much more help.
我的猜测是,它的密度实际上比您想象的要低,但是没有某种屏幕截图或关于您所看到的内容的进一步描述,我不知道任何人都可以提供更多帮助。
//you need to run this in API level 13 OS version 3.2 and above. //您需要在API级别13 OS 3.2和更高版本中运行此代码。
for the < 3.2 you need to declare normal drawable-mdpi
对于<3.2,您需要声明正常的
drawable-mdpi
as your samsung ACE OS version might be 2.2.1 因为您的三星ACE OS版本可能是2.2.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.