OSDN Git Service

Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode
authorFabrice Di Meglio <fdimeglio@google.com>
Tue, 20 Aug 2013 18:01:22 +0000 (11:01 -0700)
committerFabrice Di Meglio <fdimeglio@google.com>
Tue, 20 Aug 2013 19:34:29 +0000 (12:34 -0700)
- add missing android:autoMirrored="true" on corresponding StateList

Change-Id: Iea6930089f33061f2cf0ae83739bb8b3356f1e1b

core/res/res/drawable/spinner_ab_holo_dark.xml
core/res/res/drawable/spinner_ab_holo_light.xml
core/res/res/drawable/spinner_background_holo_dark.xml
core/res/res/drawable/spinner_background_holo_light.xml

index 0932eff..9b8967c 100644 (file)
@@ -14,7 +14,8 @@
      limitations under the License.
 -->
 
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+          android:autoMirrored="true">
     <item android:state_enabled="false"
           android:drawable="@drawable/spinner_ab_disabled_holo_dark" />
     <item android:state_pressed="true"
index e785cf4..a324c08 100644 (file)
@@ -14,7 +14,8 @@
      limitations under the License.
 -->
 
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+          android:autoMirrored="true">
     <item android:state_enabled="false"
           android:drawable="@drawable/spinner_ab_disabled_holo_light" />
     <item android:state_pressed="true"
index eb6b18b..a57f720 100644 (file)
@@ -14,7 +14,8 @@
      limitations under the License.
 -->
 
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+          android:autoMirrored="true">
     <item android:state_enabled="false"
           android:drawable="@drawable/spinner_disabled_holo_dark" />
     <item android:state_pressed="true"
index 9d17ed0..899633c 100644 (file)
@@ -14,7 +14,8 @@
      limitations under the License.
 -->
 
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+          android:autoMirrored="true">
     <item android:state_enabled="false"
           android:drawable="@drawable/spinner_disabled_holo_light" />
     <item android:state_pressed="true"