Android Icon Sizes

Android Icon Sizes

Android devices use the following screen pixel densities:
Low - ldpi - 120 dpi
Medium - mdpi - 160 dpi
High - hdpi - 240 dpi
Extra high - xhdpi - 320 dpi
Extra Extra high - xxhdpi - 480 dpi

Because each icon is required in multiple sizes to support different densities, the official design guidelines refer to the icon dimensions in  dp  (density-independent pixels) units, which are based on the pixel dimensions of a medium-density (MDPI) screen. 

To create an icon for different densities, you should follow the 1.5:2:3:4:6 scaling ratio between these screen densities (low, medium, high, x-high, and xx-high). For example, consider that the size for a launcher icon is specified to be 48x48 dp. This means the baseline (MDPI) asset is 48x48 px, and the high density (HDPI) asset should be 1.5x the baseline at 72x72 px, and the x-high density (XHDPI) asset should be 2x the baseline at 96x96 px, and the xx-high density (XXHDPI) asset should be 3x the baseline at 144x144 px, and the low density (LDPI) asset should be at 36x36 px. 

Note:  Normally you don't need to create custom assets for low density screens because Android effectively down-scales your HDPI assets by 1/2 to match the expected size.
Launcher
Android Launcher icons


Use a distinct silhouette. Three-dimensional, front view, with a slight perspective as if viewed from above, so that users perceive some depth. 

Launcher icons for Android Market must be 512x512 pixels.
Action Bar
Android Action Bar icons


Generally you should use an optical square inside full PNG images to draw objects and do not use a space between the optical square and icon borders.
The following table shows sizes of interface icons in pixels
Density Launcher Menu Action Bar Status Bar and Notification Tab Pop-up Dialog and List View Small and Contextual
ldpi 36x36 px 36x36 / 24x24 px 24x24 / 18x18 px 18x18 / 16x16 px 24x24 / 22x22 px 24x24 px 12x12 / 9x9 px
mdpi 48x48 px 48x48 / 32x32 px 32x32 / 24x24 px 24x24 / 22x22 px 32x32 / 28x28 px 32x32 px 16x16 / 12x12 px
hdpi 72x72 px 72x72 / 48x48 px 48x48 / 36x36 px 36x36 / 33x33 px 48x48 / 42x42 px 48x48 px 24x24 / 18x18 px
xhdpi 96x96 px 96x96 / 64x64 px 64x64 / 48x48 px 48x48 / 44x44 px 64x64 / 56x56 px 64x64 px 32x32 / 24x24 px
xxhdpi 144x144 px 144x144 / 96x96 px 96x96 / 72x72 px) 72x72 / 66x66 px 96x96 / 84x84 px 96x96 px 48x48 / 36x36 px

Note:  the first icon dimension in table cell is full asset size, the second icon dimension is optical square. Dimension values are in pixels. 

 Official guidelines
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值