Android的不同绘制的屏幕分辨率 [英] Android different drawable screen resolutions
问题描述
我有点困惑,什么决议,我要拯救我的图片为不同的绘制文件夹。是否有它的一般公式?例如,如果我想的图像占用的高度和屏幕的完整宽度的10%,大致会怎么计算一下不同的决议,我要救的形象?
I'm a bit confused as to what resolutions I should be saving my images in for the different drawable folders. Is there a general formula for it? For example,if I want an image to take up 10% of the height and the full width of the screen, roughly how would I calculate what different resolutions I should save the image in?
推荐答案
这是用于图标Android的指导方针。显然,并非所有的可绘制的图标,但也许这可以帮助您开始。
This is android's guidelines for icons. Obviously not all drawables are icons, but maybe this helps you get started.
- 36X36的低密度
- 48×48的中密度
- 的72x72的高密度
- 96×96的超高密度
从这里:<一href="http://developer.android.com/guide/practices/screens_support.html">http://developer.android.com/guide/practices/screens_support.html
这篇关于Android的不同绘制的屏幕分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!