Skip to content

[Android] Do we have any control over the heads-up notification icon background? #5496

Answered by piljac1
piljac1 asked this question in Q&A
Discussion options

You must be logged in to vote

Finally found an explanation.

@nurassyl stated that changing the app icon background color worked for him because it gets the dominant color and uses it. At first, I thought he was talking about the notification icon background (which should always be transparent according to guidelines), because he never replied to my question, but he was indeed talking about the main app icon (mipmap ic_launcher icons).

As for the "dominant color" color statement, that is not entirely true. From my tests, it seems like it considers the most dominant non black or white color of your app icon (haven't tried with gray shades, but they might get ignored too). So if your app icon is a small yellow logo on a …

Replies: 5 comments 13 replies

Comment options

You must be logged in to vote
6 replies
@piljac1
Comment options

@piljac1
Comment options

@piljac1
Comment options

@mikehardy
Comment options

@piljac1
Comment options

Comment options

You must be logged in to vote
2 replies
@piljac1
Comment options

@piljac1
Comment options

Comment options

You must be logged in to vote
3 replies
@mikehardy
Comment options

@piljac1
Comment options

@Dayeon1233
Comment options

Answer selected by piljac1
Comment options

You must be logged in to vote
2 replies
@piljac1
Comment options

@victorroatt
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants