1

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

Community
  • 1
  • 1
Ajit Kumar Dubey
  • 1,383
  • 1
  • 19
  • 33
  • Use this [link](http://stackoverflow.com/questions/13639263/whats-the-correct-size-icon-for-drawable-xxhdpi) In this the Answer are you got. Please visit this link. Hope u like it. –  Nov 03 '15 at 06:37
  • @Harshad I got most of link, that's why I am confused regarding Android developer guidelines. – Ajit Kumar Dubey Nov 03 '15 at 06:43
  • see my answer link. All confusion have solve. –  Nov 03 '15 at 06:45
  • Thanks for effort, I saw your link then what I consider about android developer guidlines – Ajit Kumar Dubey Nov 03 '15 at 06:50
  • Here is simply Calculation ; 48px = 1.0x , 96px = 2.0x , So that 48px * 3 = 144px . So the Guideline is wrong . –  Nov 03 '15 at 06:56
  • LDPI should be 36 x 36. MDPI should be 48 x 48. HDPI should be 72 x 72. XHDPI should be 96 x 96. XXHDPI should be 144 x 144. XXXHDPI should be 192 x 192. – Pankaj K Sharma Nov 04 '15 at 07:21

2 Answers2

2

To create alternative bitmap drawables for different densities, you should follow the 3:4:6:8:12:16 scaling ratiobetween the six generalized densities.

For example, if you have a bitmap drawable that's 48x48 pixels for medium-density screens, all the different sizes should be:

• 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

pradip_android
  • 283
  • 1
  • 3
  • 16
2
  LDPI should be 36 x 36.

MDPI should be 48 x 48.

HDPI should be 72 x 72.

XHDPI should be 96 x 96.

XXHDPI should be 144 x 144.

XXXHDPI should be 192 x 192.
Pankaj K Sharma
  • 240
  • 1
  • 12