Using Smallest Width configuration qualifier

无人久伴 提交于 2019-11-30 15:22:31

I had the same problem and tracked this down. I believe there was a bug in ICS (Android 4.0.3 for me) where non-XHDPI devices take XHDPI values. Because most XHDPI devices started off in Jelly Bean (Nexus 4, Nexus 10), qualifying the folders with -v16 at the end (instead of nothing or -v14) solves the problem. 10" non-XHDPI devices running Jelly Bean do not have this bug so it seems to work. This does mean any XHDPI devices pre-JB will be broken, but I'm okay taking that risk.

Tablets of resolution like 1280x800 gets their resources from drawable-xhdpi of course if the device is of the density hdpi.

So designing for tablet to for different resolution you will have to create different folders of images with appropriate resolution name.

I think this will help you more . http://developer.android.com/guide/practices/screens_support.html

thanks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!