Android的屏幕尺寸支持 [英] Android screen sizes support

查看:137
本文介绍了Android的屏幕尺寸支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经仔细阅读 http://developer.android.com/guide文档/practices/screens_support.html 和其他相关的网站,但我仍然有疑虑。让我来解释一下:

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:

我已经实现dimens.xml的价值观,价值观的大和值,XLARGE,所以我的Andr​​oid应用程序在平板电脑上运行的时候,比如是很好的。不过,我已指定补白,边距,文字大小和的东西,但我不知道该怎么办的图像。

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.

问题是,图像是小相比,文本大小我把dimens.xml。那么,我该怎么办?

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

我应该创建绘制-MDPI-大,绘制-HDPI-大,绘制-xhdpi大型,绘制-xxhdpi大型,绘制,MDPI-XLARGE,等等? (太多图片为我的APK)

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)

在此先感谢,

推荐答案

Ofcourse,您要创建各种绘制的文件夹设置的图像,从而使按屏幕像素的应用程序会自动从drwable文件夹中收集准确的图像

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

我preFER这个网站,为你设置图像按可绘制。

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/

这篇关于Android的屏幕尺寸支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆