Rebuilding Stronger on Renewed Hope

Communities affected by Cyclone Idai are rebuilding stronger to prevent future disasters


独家优惠奖金 100% 高达 1 BTC + 180 免费旋转

Change the Colour of my Notification!

Let’s see how out icon looks like when we change its colour.

Without setting colour
With setting colour

You have the freedom to use as much colour as you want for a large image. The only thing is that you need a bitmap object for that. You can use the following code for that. (It is not only for vector drawables.)

Android Setup notification is a good sample of background colour

Also, have a look at the sample project for notifications. You can find most of the code that I tell in this post.

It is all about colours in android notifications. Do not forget to give some claps and follow me. 👏 Leave a comment and if there is any missing/wrong part feel free to harshly correct me.

Add a comment

Related posts:

What Happened When I Stopped Shaving My Legs

I still remember shaving for the first time. I was eleven years old. My mother, somewhat reluctantly, taught me how it’s done. I say ‘reluctantly’ because my hairs had been growing for a while but…

Propuesta de Reportaje

Como primera propuesta para el reportaje, sería el revuelo que se ha causado por el campo de futbol de Calpe que lleva inhabilitado durante 5 meses y el Club se ha tenido que trasladar a otras…

Getting a visual on your network with Eyewitness

Whether assessing your security posture, hunting for vulnerable targets, or just taking inventory, Eyewitness will give you a visual of what’s active on your network. Eyewitness is a Python tool that…