gpt4 book ai didi

android - drawable-xxhdpi 的正确尺寸图标是多少?

转载 作者:IT老高 更新时间:2023-10-28 13:08:09 32 4
gpt4 key购买 nike

我们知道,正确大小的图标:

* 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

在果冻 bean 上,可以支持drawable-xxhdpi。那么正确大小的图标是什么?

最佳答案

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

关于android - drawable-xxhdpi 的正确尺寸图标是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13639263/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com