Android的:设计不同的图标的屏幕密度 [英] Android: Designing Different Icons for Screen Densities

查看:119
本文介绍了Android的:设计不同的图标的屏幕密度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道它的设计为不同的屏幕密度不同的菜单图标很好的做法。我读了不同密度的preferred尺寸是:

I know it's good practice to design different menu icons for different screen densities. I read that the preferred size for the different densities are:


  • 36×36像素的低

  • 48×48像素用于中等

  • 72 x 72到像素的高

我要避免做不必要的工作。它是设计在72 x 72到PX仅有1图标是一个好主意,只是使用的,并且有Android的做自动调整大小?我看不出这有什么不同比我调整其大小和创建3个独立的图像?

I want to avoid doing unnecessary work. Is it a good idea to design just 1 icon at 72 X 72 px, and just use that, and have Android do the resizing automatically? I don't see how that's any different than me resizing it and creating 3 separate images?

推荐答案

具有不同图标的好处是,有超过最后出场的控制,而不是让一个算法来munge你的形象。很少缩放算法能减少图像的尺寸时,保持质量,尤其是复杂的图标。

The benefit of having different icons is that you have control over the final appearance, rather than allowing an algorithm to munge your image. Few scaling algorithms are able to maintain quality when reducing an image's dimensions, especially for complex icons.

请务必阅读 Android的缩放规则,也的this页面具有优良的调查,图像缩放和最终图像的效果。

Be sure to read Android's scaling rules, and also this page has an excellent investigation into image scaling and its effects on the final image.

这篇关于Android的:设计不同的图标的屏幕密度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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