Bing
2 min readDec 2, 2015

--

Android Notification Icon 製作要點

從 Android 5 開始,原有的 Notification Icon 已不可以使用一般的 App Icon,若使用原有的 App Icon 來做為 Notification Icon,則容易出現一塊白白的狀況,所以必須特別製作

http://i.imgur.com/oXdgFLY.jpg

位置

Notification Icon 主要會出現在通知畫面上

http://developer.android.com/design/patterns/notifications.html

製作規則

  • 要能瞄一眼就知道是你的 App,因此必須做適度的簡化
  • 背景必須透明
  • 只能使用「白色」
  • 不可使用任何「漸層」或「Alpha」
  • 尺寸為:24dp * 24dp

產出

以檔名 ic_notification.png 為例

輸出尺寸

mdpi:24px * 24px

hdpi:36px * 36px

xhdpi:48px * 48px

xxhdpi:72px *72px

xxxhdpi:96px * 96px

置放資料夾

--

--