diff options
author | Peter Ng <petergng@google.com> | 2011-08-30 23:08:03 -0700 |
---|---|---|
committer | Peter Ng <petergng@google.com> | 2011-08-30 23:08:03 -0700 |
commit | 6cb074156ea0d2f74d2d1302104410ac2eb659f7 (patch) | |
tree | ac3ec25033b9be2b19df711640abf6c8647c75fd | |
parent | 5471781430ef51fbe649179c22b98975e64d2a5e (diff) | |
download | frameworks_base-6cb074156ea0d2f74d2d1302104410ac2eb659f7.zip frameworks_base-6cb074156ea0d2f74d2d1302104410ac2eb659f7.tar.gz frameworks_base-6cb074156ea0d2f74d2d1302104410ac2eb659f7.tar.bz2 |
Switches now have checked state
Bug: 5238933
Change-Id: I1ceca648f57d239c9c0935d4c8d2b129063fec04
-rw-r--r-- | core/res/res/drawable/switch_inner_holo_dark.xml | 1 | ||||
-rw-r--r-- | core/res/res/drawable/switch_inner_holo_light.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/res/res/drawable/switch_inner_holo_dark.xml b/core/res/res/drawable/switch_inner_holo_dark.xml index 3eb55ee..67584bc 100644 --- a/core/res/res/drawable/switch_inner_holo_dark.xml +++ b/core/res/res/drawable/switch_inner_holo_dark.xml @@ -17,5 +17,6 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false" android:drawable="@drawable/switch_thumb_disabled_holo_dark" /> <item android:state_pressed="true" android:drawable="@drawable/switch_thumb_pressed_holo_dark" /> + <item android:state_checked="true" android:drawable="@drawable/switch_thumb_activated_holo_dark" /> <item android:drawable="@drawable/switch_thumb_holo_dark" /> </selector> diff --git a/core/res/res/drawable/switch_inner_holo_light.xml b/core/res/res/drawable/switch_inner_holo_light.xml index 9b287cf..95df0e88 100644 --- a/core/res/res/drawable/switch_inner_holo_light.xml +++ b/core/res/res/drawable/switch_inner_holo_light.xml @@ -17,5 +17,6 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false" android:drawable="@drawable/switch_thumb_disabled_holo_light" /> <item android:state_pressed="true" android:drawable="@drawable/switch_thumb_pressed_holo_light" /> + <item android:state_checked="true" android:drawable="@drawable/switch_thumb_activated_holo_light" /> <item android:drawable="@drawable/switch_thumb_holo_light" /> </selector> |