Androidプッシュ通知アイコンの要件は?


Hi, I’ve set my push notification icon to my logo, however, a [white] circle appears instead.

What am I doing wrong here?

I thought of an idea: Is it a circle because Android doesn’t distinguish notification icons (just generalizes all icons to be white), so the green lines should actually be transparent?

That icon is tricky.

It must be monochromatic, only white on alpha background.

https://developer.android.com/about/versions/android-5.0-changes.html#NotificationsMaterialDesignStyle

For reference, the quick overview to to convert an icon to a transparent monochrome image in GIMP:
desaturate by luminosity (converts to black+white), layer → transparency → color to alpha (adds transparency), and finally invert colors (flips to white)

The same methods should work on photoshop or your image editor of choice.

Thanks for the tips! :smiley: I was able to do it in LunaPic.

この関数がどのように機能するのか、少し混乱しています! :confused:

こんにちは、エドゥアルドさん。こちらでは問題が解決済みですが、具体的に何をお求めなのか理解できませんでした。ご自身の問題について新しいトピックを作成し、詳細を記載していただけますでしょうか?