简体   繁体   English

适用于320x480 Android(Galaxy Ace)的配置限定符

[英]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.

相关问题 Android-将Samsung Galaxy Ace VIA蓝牙连接到NXT - Android - Connecting Samsung Galaxy Ace VIA Bluetooth to NXT Android应用程序无法在Galaxy S4上运行,但可以在Galaxy Ace 2上运行 - Android application can't run on Galaxy S4 but can run at Galaxy Ace 2 WVGA800(480x800)和密度ANDROID - WVGA800 (480x800) & Density ANDROID Android如何使我的应用在分辨率小于480x800的设备上不可见 - Android how to make my app not visible for devices with resolution smaller than 480x800 facebook4j如何获取PictureURL尺寸为480x480? - facebook4j how to getPictureURL size 480x480? 基于限定符的Android可绘制处理 - Android drawable handling based on qualifiers 宽高比为800x480 - Aspect Ratio with 800x480 Android RenderScript信号7(SIGBUS),代码1(BUS_ADRALN),故障加法器0x76f458b4 Adreno 306、320 - Android RenderScript signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x76f458b4 Adreno 306, 320 Android错误:W /广告:没有足够的空间来展示广告。 需要320x50 dp,但只有384x0 dp - Android error: W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 384x0 dp 部分Android设备在“新FFmpegFrameRecorder(新File(filePath),480、480、1);”上出现问题; - Part of android devices have problems on “new FFmpegFrameRecorder(new File(filePath), 480, 480, 1);”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM