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

后端 未结 4 1770
时光取名叫无心
时光取名叫无心 2020-12-02 04:50

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 48p         


        
4条回答
  •  借酒劲吻你
    2020-12-02 04:54

    Android Icon Display Densities

    • MDPI: 48x48
    • HDPI: 72x72
    • XHDPI: 96x96
    • XXHDPI: 144x144
    • XXXHDPI: 192x192

    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

提交回复
热议问题