对于HDPI
、XHDPI
等,启动器图标的理想大小应该是多少?我应该为图标创建9-Patch
图像以自动缩放,还是创建单独的图标更好?
发布于 2012-10-07 18:52:57
我会为每一个创建单独的图像:
LDPI should be 36 x 36.
MDPI should be 48 x 48.
TVDPI should be 64 x 64.
HDPI should be 72 x 72.
XHDPI should be 96 x 96.
XXHDPI should be 144 x 144.
XXXHDPI should be 192 x 192.
然后,只需将它们分别放在可抽屉文件夹的不同柄中。
你还需要给出一个大版本的图标,当上传你的应用程序到谷歌播放商店,这应该是WEB 512 x 512
。这是如此之大,以至于谷歌可以将其重新缩放到任何大小,以便在整个Google Play商店中为您的应用程序做广告,而不是为您的徽标添加像素化效果。
基本上,所有其他图标都应该与“基线”图标MDPI at 48 x 48
成比例。
LDPI is MDPI x 0.75.
TVDPI is MDPI x 1.33.
HDPI is MDPI x 1.5.
XHDPI is MDPI x 2.
XXHDPI is MDPI x 3.
XXXHDPI is MDPI x 4.
这一切都在安卓开发者网站的图标页面上进行了解释:http://developer.android.com/design/style/iconography.html
发布于 2015-01-06 19:52:49
对于不同的屏幕像素密度,Android图标需要五种不同的大小。较低分辨率的图标是从基线自动创建的。
mdpi (Baseline): 160 dpi 1×
hdpi: 240 dpi 1.5×
xhdpi: 320 dpi 2×
xxhdpi: 480 dpi 3×
xxxhdpi: 640 dpi 4× (launcher icon only)
启动器图标(.Png)
48 × 48 (mdpi)
72 × 72 (hdpi)
96 × 96 (xhdpi)
144 × 144 (xxhdpi)
192 × 192 (xxxhdpi)
512 × 512 (Google Play store)
操作栏、对话框和选项卡图标
24 × 24 area in 32 × 32 (mdpi)
36 × 36 area in 48 × 48 (hdpi)
48 × 48 area in 64 × 64 (xhdpi)
72 × 72 area in 96 × 96 (xxhdpi)
96 × 96 area in 128 × 128 (xxxhdpi)*
通知图标
22 × 22 area in 24 × 24 (mdpi)
33 × 33 area in 36 × 36 (hdpi)
44 × 44 area in 48 × 48 (xhdpi)
66 × 66 area in 72 × 72 (xxhdpi)
88 × 88 area in 96 × 96 (xxxhdpi)*
小上下文图标
16 × 16 (mdpi)
24 × 24 (hdpi)
32 × 32 (xhdpi)
48 × 48 (xxhdpi)
64 × 64 (xxxhdpi)*
如Supporting multiple Screens官网所说,只有启动器图标需要的xxxhdpi大小。
发布于 2015-05-21 13:40:17
提供至少512px X 512px的图像,并使用此工具:https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html
它将为您生成正确大小的所有图标,包括play商店的web图像。
https://stackoverflow.com/questions/12768128
复制相似问题