语言

Notification.Color 属性

定义

主题色(ARGB 整数(如 Color 中的常量)在演示此通知时由标准样式模板应用。

[Android.Runtime.Register("color")]
public int Color { get; set; }
[<Android.Runtime.Register("color")>]
member this.Color : int with get, set

属性值

特性

注解

主题色(ARGB 整数(如 Color 中的常量)在演示此通知时由标准样式模板应用。 当前模板设计通过覆盖图标图像(以白色贴靠)覆盖此颜色的字段来构造彩色标头图像。 将忽略 Alpha 组件。

Android 参考。android.app.Notification.color

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于