Page 1 of 2

Custom icon for notifications

Posted: 29 Oct 2013 20:23
by Martin!
It would be great if you for notifications could use a custom icon other than the built-in ones. The way Tasker does this is allowing the user to specify a URI to an icon like this:

Code: Select all

android.resource://package.name.here/drawable/NAMEOFICON

Re: Custom icon for notifications

Posted: 25 Nov 2013 08:15
by kintrupf
+1
I would love to be able to use other icons than the ones build-in!
But it guess it would be easier for "common folk" to use simple image files and not android resources ;-)

Re: Custom icon for notifications

Posted: 25 Nov 2013 12:08
by MURTUMA
Me too.

Just for a side note, I wonder why so called "common folks" would even download something like automagic or tasker..?

Re: Custom icon for notifications

Posted: 26 Nov 2013 07:44
by kintrupf
MURTUMA wrote: Just for a side note, I wonder why so called "common folks" would even download something like automagic or tasker..?
You need to be a programmer to understand android resources, and not every Automagic user is a programmer.
But I guess the percentage is much higher than with other apps ;)

Re: Custom icon for notifications

Posted: 04 Jan 2014 00:56
by kintrupf
Any news on this? Will customizable notification icons be added to some future version?
The few build-in icons are far to limited and also a bit ugly ;-)

Re: Custom icon for notifications

Posted: 04 Jan 2014 12:08
by Martin
It's on my todo-list but I'm not sure if it makes it into the next release.
I will probably add support for ipacks and the resource url format.

Re: Custom icon for notifications

Posted: 14 May 2016 04:16
by sambarlick
Hi Martin,

Did this ever get implemented?
I would like to have a variable as icon, eg, battery level or content Uri.

Thanks, Sam

Re: Custom icon for notifications

Posted: 15 May 2016 09:34
by Martin
Hi,

Yes, but in a completely different way. Starting with Android 6 you can specify your own custom icon (see dropdown near the icon selection). The icon should be a transparent PNG. Android will paint every pixel that is not transparent in white, regardless of the colors in the image.

I have not planned to add support for ipacks anymore.

Regards,
Martin

Re: Custom icon for notifications

Posted: 24 May 2016 09:53
by sambarlick
Thanks Martin.

I never noticed the second drop down menu.

Haha.

Thanks.

Re: Custom icon for notifications

Posted: 19 Aug 2016 21:34
by moonspeak
Martin wrote:Hi,

Yes, but in a completely different way. Starting with Android 6 you can specify your own custom icon (see dropdown near the icon selection). The icon should be a transparent PNG. Android will paint every pixel that is not transparent in white, regardless of the colors in the image.

I have not planned to add support for ipacks anymore.

Regards,
Martin
Hey Martin, I'm having an interesting issue with using custom icons. For some reason, the icons get painted red in the notification. :| They show white as expected on the statusbar, though. I've tried a PNG I grabbed off the internet as well as a PNG I saved myself in Photoshop, in both RGB color and indexed color modes. All of them end up red. Any clue why? My best guess is it could be a Samsung/TouchWiz oddity.