What’s the correct size icon for drawable-xxhdpi?

As we know, the correct sized icon:

* drawable-ldpi (120 dpi, Low density screen) - 36px x 36px
* drawable-mdpi (160 dpi, Medium density screen) - 48px x 48px
* drawable-hdpi (240 dpi, High density screen) - 72px x 72px
* drawable-xhdpi (320 dpi, Extra-high density screen) - 96px x 96px

On Jelly Bean, drawable-xxhdpi can be supported. So what’s the correct size icon?

Answer

Android Icon Display Densities

  • MDPI: 48×48
  • HDPI: 72×72
  • XHDPI: 96×96
  • XXHDPI: 144×144
  • XXXHDPI: 192×192

to create an icon for different densities, you should follow the 2:3:4:6:8 scaling ratio between the five primary densities (medium, high, x-high, xx-high, and xxx-high respectively)

developer.android.com

Attribution
Source : Link , Question Author : Jerikc XIONG , Answer Author : Alastair

Leave a Comment