Google CDD对状态栏上system icon和notification icon颜色规定
时间:10-02
整理:3721RD
点击:
从android 4.4开始,Google在Compatibility Definition Document(简称CDD)中规定:状态栏右侧显示的system status icon和左侧的notification icon颜色须是白色;只有表示异常或者警示状态时,可以用其他颜色icon,例如:低电量提示icon.
以下文字摘自Android 5.0 Compatibility Definition Document第17页,3.8.6.Themes小节:
Android supports a new variant theme with translucent system bars, which
allows application developers to fill the
area behind the status and navigation bar with their app content. To
enable a consistent developer experience in this
configuration, it is important the status bar icon style is maintained
across different device implementations.
Therefore, Android device implementations MUST use white for system status
icons (such as signal strength and
Battery level) and notifications issued by the system, unless the icon is
indicating a problematic status
CDD文档下载地址:http://source.android.com/compatibility/downloads.html
以下文字摘自Android 5.0 Compatibility Definition Document第17页,3.8.6.Themes小节:
Android supports a new variant theme with translucent system bars, which
allows application developers to fill the
area behind the status and navigation bar with their app content. To
enable a consistent developer experience in this
configuration, it is important the status bar icon style is maintained
across different device implementations.
Therefore, Android device implementations MUST use white for system status
icons (such as signal strength and
Battery level) and notifications issued by the system, unless the icon is
indicating a problematic status
CDD文档下载地址:http://source.android.com/compatibility/downloads.html
沙发专业户