summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author FEI WU <nuswufei@google.com> 2016-07-27 18:49:02 -0700
committer FEI WU <nuswufei@google.com> 2016-07-29 14:02:32 -0700
commit97f80cbd7321c8ea8d3a95e1ae56095a7b64545d (patch)
tree054c6b7080004a0e394ae5d446b2322b9e12eb71
parent9574299cba4727003bae47e50615847fed77a5da (diff)
Make watch Switch thumb color consistent
Make watch switch thumb color in consistent with the system Switch thumb and its own animation. It should be in the off state when disabled. Change-Id: I7d6de34576676a63bda5b4ccf0c469feff9dc3f5
-rw-r--r--core/res/res/color/watch_switch_thumb_color_material.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/res/res/color/watch_switch_thumb_color_material.xml b/core/res/res/color/watch_switch_thumb_color_material.xml
index a931724f3419..d4796a032631 100644
--- a/core/res/res/color/watch_switch_thumb_color_material.xml
+++ b/core/res/res/color/watch_switch_thumb_color_material.xml
@@ -12,6 +12,7 @@
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:color="?android:colorAccent" android:state_checked="true" />
- <item android:color="?android:colorButtonNormal" android:state_checked="false" />
+ <item android:color="?android:colorButtonNormal" android:state_enabled="false" />
+ <item android:color="?android:colorControlActivated" android:state_checked="true" />
+ <item android:color="?android:colorButtonNormal" />
</selector> \ No newline at end of file