Android Color Notification Icon

I found the answer to my question here: https://stackoverflow.com/a/44950197/4394594

I don’t know entirely what the problem was, but by putting the huge png that I was using for the icon into the this tool https://romannurik.github.io/AndroidAssetStudio/icons-notification.html#source.type=image&source.space.trim=1&source.space.pad=0&name=ic_skylight_notification
and by placing the generated icons it gave into my mipmap folder, I was able to get the setColor(...) property to work correctly.

Leave a Comment