Android 中的通知图标大小 [英] Notification icon size in Android
问题描述
我正在尝试获取有关通知图标大小的信息,以便为我的应用程序创建它们,但我有点迷茫.我读过一些帖子,基本上是这样说的:
I am trying to get information about the notification icon sizes to create them for my app but I am a little bit lost. I have read a few posts that basically says this:
For MDPI 24 px
For HDPI 36 px
For XHDPI 48 px
For XXHDPI 72 px
For XXXHDPI 96 px
我正在尝试使用 Photoshop 创建我的图标,但我不知道分辨率.谁能告诉我必须使用什么分辨率?
I am trying to create my icons using Photoshop but I don't know the resolution. Can anyone tell what resolution I have to use?
这里有一个 Photoshop,创建新对话框:
Here you have a Photoshop, create New dialog:
推荐答案
你就在这里..通知图标的大小与您在此处发布的大小相同...喜欢
you are right here.. Notification icons have the same size you had posted here... like
MDPI - 24 x 24 (drawable-mdpi)
HDPI - 36 x 36 (drawable-hdpi)
XHDPI - 48 x 48 (drawable-xhdpi)
XXHDPI - 72 x 72 (drawable-xxhdpi)
XXXHDPI - 96 x 96 (drawable-xxxhdpi)
更详细..这里Graphics Designer Cheat Sheet有看一看
For more detailed.. Here Graphics Designer Cheat Sheet Have a look
这篇关于Android 中的通知图标大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!