diff options
author | Kaikai Wang <kaikai@google.com> | 2014-12-09 14:20:57 -0800 |
---|---|---|
committer | Kaikai Wang <kaikai@google.com> | 2014-12-09 14:33:49 -0800 |
commit | cb11fced23f3a08ad68ea61719d7f0fdeb0f7279 (patch) | |
tree | 2389e8b7fdc3ed2eed82afb82c99fceb632244ab /res | |
parent | 494bec8daac55c76707e140c71fb8783fb3a9323 (diff) | |
download | chips-cb11fced23f3a08ad68ea61719d7f0fdeb0f7279.tar.gz |
Adding customized chip color support
Adding customized chip color attributes to selected and unselected states, so that
chip consumers can use their own colors for the chips to better serve their UX
requirements. Without specifying these colors, the chips UI will keep the current
default color scheme
Bug: 18293881
Change-Id: I269c478df312ea634f90bd1c97a7a08c3d14d9d7
Diffstat (limited to 'res')
-rw-r--r-- | res/values/attrs.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index d3500aa..be838bf 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -31,5 +31,9 @@ <enum name="bottom" value = "0"/> <enum name="baseline" value = "1"/> </attr> + <attr name="unselectedChipBackgroundColor" format="color" /> + <attr name="selectedChipBackgroundColor" format="color" /> + <attr name="unselectedChipTextColor" format="color" /> + <attr name="selectedChipTextColor" format="color" /> </declare-styleable> </resources>
\ No newline at end of file |