不同的绘制分辨率 [英] different drawable resolutions
问题描述
我想部署我使用的1.6功能不同屏幕尺寸的应用。 我出口的绘制资源与绘制,LDPI不同的分辨率,绘制,MDPI和绘制,华电国际的文件夹。 在Android 1.6和2.0一切看起来不错。
I want to deploy my application on different screen sizes using the 1.6 feature. I exported the drawable resources with different resolutions in drawable-ldpi, drawable-mdpi and drawable-hdpi folders. On android 1.6 and 2.0 everything looks good.
我的问题是,在1.5的绘制,LDPI资源的使用,而不是绘制或绘制,MDPI ...应用仍然有效,但它呈现的图像缩放和图像质量损失。
My problem is that on 1.5 the drawable-ldpi resources are used instead of drawable or drawable-mdpi ... the application still works but it renders the images scaled and the image quality is lost.
如何配置应用程序,以便在1.5只绘制-MDI文件夹将被使用?
How can I configure the application so that on 1.5 the only the drawable-mdi folder will be used?
我想保持apilevel 3,这样相同的apk将运行在1.5,1.6和2.0。
I'd like to keep the apilevel to 3 so that the same apk will run on 1.5, 1.6 and 2.0.
推荐答案
尝试添加 -v4
您 -ldpi
, -mdpi
和 -hdpi
目录名,并具有底座 RES /绘制/
供Android 1.5的。使用
Try adding -v4
to your -ldpi
, -mdpi
, and -hdpi
directory names, and having a base res/drawable/
for use by Android 1.5.
这篇关于不同的绘制分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!