summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values/attrs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/res/values/attrs.xml')
-rw-r--r--packages/SystemUI/res/values/attrs.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/attrs.xml b/packages/SystemUI/res/values/attrs.xml
index 6ecdca3..24f92ef 100644
--- a/packages/SystemUI/res/values/attrs.xml
+++ b/packages/SystemUI/res/values/attrs.xml
@@ -72,5 +72,15 @@
<attr name="verticalSpacing" format="dimension" />
<attr name="horizontalSpacing" format="dimension" />
</declare-styleable>
+
+ <!-- Theme for icons in the status bar (light/dark). background/fillColor is used for dual tone
+ icons like wifi and signal, and singleToneColor is used for icons with only one tone.
+ Contract: Pixel with fillColor blended over backgroundColor blended over translucent should
+ equal to singleToneColor blended over translucent. -->
+ <declare-styleable name="TonedIcon">
+ <attr name="backgroundColor" format="integer" />
+ <attr name="fillColor" format="integer" />
+ <attr name="singleToneColor" format="integer" />
+ </declare-styleable>
</resources>