Android的不同绘制的屏幕分辨率 [英] Android different drawable screen resolutions

查看:197
本文介绍了Android的不同绘制的屏幕分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有点困惑,什么决议,我要拯救我的图片为不同的绘制文件夹。是否有它的一般公式?例如,如果我想的图像占用的高度和屏幕的完整宽度的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屋!

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