programing

drawable-xxhdpi의 올바른 크기 아이콘은 무엇입니까?

nasanasas 2020. 9. 11. 08:08
반응형

drawable-xxhdpi의 올바른 크기 아이콘은 무엇입니까?


아시다시피 올바른 크기의 아이콘 :

* 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

Jelly Bean에서 drawable-xxhdpi지원할 수 있습니다. 그렇다면 올바른 크기 아이콘은 무엇입니까?


Android 아이콘 표시 밀도

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

다른 밀도에 대한 아이콘을 만들려면 5 가지 기본 밀도 (각각 중간, 높음, x- 높음, xx- 높음 및 xxx- 높음) 사이의 2 : 3 : 4 : 6 : 8 배율 조정 비율을 따라야합니다.

- developer.android.com


이것은 구글 플러스에 포스트에서 인용 한 것입니다 https://plus.google.com/118292708268361843293/posts/ePQya3KsTjW닉 백정

The gorgeous screen on the Nexus 10 falls into the XHDPI density bucket. On tablets, Launcher uses icons from one density bucket up [0] to render them slightly larger. To ensure that your launcher icon (arguably your apps most important asset) is crisp you need to add a 144*144px icon in the drawable-xxhdpi or drawable-480dpi folder.

So, for the xxhdpi qualifier, you will need to create an icon of the size 144*144px for your launcher icon. You can either place it in the drawable-xxhdpi or the drawable-480dpi

EDIT: To add to the original answer to address cone of the comments by the OP.

As per this link: http://developer.android.com/guide/practices/screens_support.html#DesigningResources, alternative resources should be created using this ratio: 3:4:6:8 scaling ratio. However, if you are concerned about loosing quality with regards to your in-app drawable resource, consider using 9-patch images wherever possible. That will reduce or eliminate any loss of quality. The Android OS all by itself, does a remarkable job handling various screen sizes most of the time anyway.

As for the icon size 144*144px, create either of these two folder drawable-xxhdpi or the drawable-480dpi and place just your launcher icon of the said size in it. That should do it.


drawable-xxhdpi 또는 drawable-480dpi 폴더에 144 * 144px 아이콘추가 해야 합니다.

-공식 G +는 xxhdpi가 480dpi임을 보여줍니다.

https://plus.google.com/118292708268361843293/posts/ePQya3KsTjW


딥의 표준 아이콘 크기는 48 딥 입니다.

서비스사용하여 모든 크기의 아이콘을 만들 수 있습니다 . (설정 크기-48 dip 및 기타 설정)

참고 URL : https://stackoverflow.com/questions/13639263/whats-the-correct-size-icon-for-drawable-xxhdpi

반응형