Android棒棒糖通知背景颜色 [英] android lollipop notification background colour
问题描述
是否可以在android棒棒糖中更改通知的背景颜色.
我注意到有些通知是白色的,有些是浅灰色的,有些是深灰色的.
(来源:解决方案
对于设计而言,背景是由材料设计本身设置的,应该是白色的.
在这里看看! >
或者您可以自定义布局.
Is it possible to change the background colour of notifications in android lollipop.
I noticed that some notifications are white, some light grey and some are dark grey.
(source: gottabemobile.com)
(source: sftcdn.net)
You can see the music player notification has a dark grey background. and in the second screenshot some are light grey.
How do I set this colour? And is it possible to completely change the colour e.g. any hex code. Or can you select them from a template such as material dark material light.
Thanks for taking the time to answer
That background is set by the material design itself, it is supposed to be white, for design matters.
Or you could make a custom layout.
这篇关于Android棒棒糖通知背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!