简体   繁体   中英

Android screen sizes support

I have carefully read the documentation in http://developer.android.com/guide/practices/screens_support.html and another related websites but I am still having doubts. Let me explain:

I have implemented dimens.xml for values, values-large and values-xlarge, so my Android application is nice when running on a tablet, for example. However, I have specified paddings, margins, text sizes and that stuff, but I don't know what to do with the images.

The problem is that images are small in comparison to the text sizes I put in dimens.xml. So, what should I do?

Should I create drawable-mdpi-large, drawable-hdpi-large, drawable-xhdpi-large, drawable-xxhdpi-large, drawable-mdpi-xlarge, and so on? (too much images for my APK)

Thanks in advance,

是的,你需要把你的图片在4个文件夹像华电国际,LDPI,MDPI,xhdpi一旦看到这个更多信息

Ofcourse, you want to create various drawable folder to set the images , so that as per the screen pixels the app automatically collect the exact image from drwable folder

I prefer this site ,it is more useful for you to set the images as per drawables..

http://www.creativefreedom.co.uk/icon-designers-blog/android-app-icon-size-guide-4-0/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM