Custom icon for notifications

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Martin!
Posts: 31
Joined: 26 Oct 2013 18:00

Custom icon for notifications

Post by Martin! » 29 Oct 2013 20:23

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

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Custom icon for notifications

Post by kintrupf » 25 Nov 2013 08:15

+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 ;-)

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Custom icon for notifications

Post by MURTUMA » 25 Nov 2013 12:08

Me too.

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

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Custom icon for notifications

Post by kintrupf » 26 Nov 2013 07:44

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 ;)

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Custom icon for notifications

Post by kintrupf » 04 Jan 2014 00:56

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 ;-)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Custom icon for notifications

Post by Martin » 04 Jan 2014 12:08

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.

sambarlick
Posts: 96
Joined: 27 Jul 2014 10:40

Re: Custom icon for notifications

Post by sambarlick » 14 May 2016 04:16

Hi Martin,

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

Thanks, Sam

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Custom icon for notifications

Post by Martin » 15 May 2016 09:34

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

sambarlick
Posts: 96
Joined: 27 Jul 2014 10:40

Re: Custom icon for notifications

Post by sambarlick » 24 May 2016 09:53

Thanks Martin.

I never noticed the second drop down menu.

Haha.

Thanks.

moonspeak
Posts: 25
Joined: 15 Jul 2015 19:42

Re: Custom icon for notifications

Post by moonspeak » 19 Aug 2016 21:34

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.

Locked