android:icon="@drawable,android - Drawable resources app launcher icon size - Stack Overflow

I have some confusion regarding drawable resource icon size. As per the Android developer support guidelines here. I found below information

36x36 (0.75x) for low-density

48x48 (1.0x baseline) for medium-density

72x72 (1.5x) for high-density

96x96 (2.0x) for extra-high-density

180x180 (3.0x) for extra-extra-high-density

192x192 (4.0x) for extra-extra-extra-high-density (launcher icon only; see note above)

As per the my understanding 180x180 (3.0x) for extra-extra-high-density should be 144x144 (3.0x) because, if extra-high-density (96x96) is (2.0x) and extra-extra-high-density is (3.0x) So that extra-extra-high-density resolution should be 144x144.

One more solution found here for xxhdpi app launcher icon size should be (144X144)

Different resolution support android is

mipmap-mdpi (48X48)

mipmap-hdpi (72X72)

mipmap-xhdpi (96X96)

mipmap-xxhdpi (144X144)

mipmap-xxxhdpi (192X192)

I have doubt why they mentioned 180x180 (3.0x) for extra-extra-high-density. Kindly Suggest me.

Thanks for help

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值