I've been scouring stack overflow for days to find the answer to this question, but I cannot figure it out for the life of me :-/
On my Samsung S6 with Android O, apps like Gmail have white notifications for the status bar but red/blue/green/whatever notifications when you pull the notifications down to inspect them individually. See for example the attached photos - Gmail red when the notifications are displayed and white in the notification bar.
What type of programatic Android sorcery must one do to accomplish this? More specifically, in Notification.Builder, what values do I need to set to get it to display this way? Are there two different icons? Is there one drawable with multiple layers? If so, how does one choose which layers are shown where? Thanks!