java - Add dual color notification to app? -


how add dual color notification icon app one:

enter image description here

enter image description here

it seems apps have feature except mine. why? icon stays white.

as can see, notification white , it's in color when user pulls down notification bar. simple ideas?

my current code:

    notificationcompat.builder notificationbuilder = new notificationcompat.builder(this)             .setstyle(new notificationcompat.bigtextstyle())             .setsmallicon(r.drawable.white_icon)             .setcontenttitle("hello")             .setcontenttext("test") 


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -