[Android] Restore good selected state for all player buttons

Geoffrey Métais git at videolan.org
Tue Jan 20 18:10:56 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 20 18:09:28 2015 +0100| [103474ea50780d33e92f029a252bbe768fd344b2] | committer: Geoffrey Métais

Restore good selected state for all player buttons

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=103474ea50780d33e92f029a252bbe768fd344b2
---

 vlc-android/res/drawable/ic_audiosub_circle.xml |    3 ++-
 vlc-android/res/drawable/ic_crop_circle_o.xml   |    3 ++-
 vlc-android/res/drawable/ic_lock_circle.xml     |    3 ++-
 vlc-android/res/drawable/ic_more_circle.xml     |    3 ++-
 vlc-android/res/drawable/ic_pause_circle.xml    |    1 -
 vlc-android/res/drawable/ic_play_circle.xml     |    1 -
 6 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/vlc-android/res/drawable/ic_audiosub_circle.xml b/vlc-android/res/drawable/ic_audiosub_circle.xml
index 9d38c3d..6208027 100644
--- a/vlc-android/res/drawable/ic_audiosub_circle.xml
+++ b/vlc-android/res/drawable/ic_audiosub_circle.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
-    <item android:drawable="@drawable/ic_audiosub_circle_pressed_o" android:state_focused="true" android:state_pressed="false"/>
+    <item android:drawable="@drawable/ic_audiosub_circle_pressed_o" android:state_focused="true"/>
+    <item android:drawable="@drawable/ic_audiosub_circle_pressed_o" android:state_pressed="true"/>
     <item android:drawable="@drawable/ic_audiosub_circle_normal_o"/>
 </selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_crop_circle_o.xml b/vlc-android/res/drawable/ic_crop_circle_o.xml
index 2a620a8..e85d3ed 100644
--- a/vlc-android/res/drawable/ic_crop_circle_o.xml
+++ b/vlc-android/res/drawable/ic_crop_circle_o.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
-    <item android:drawable="@drawable/ic_crop_circle_pressed_o" android:state_focused="true" android:state_pressed="false"/>
+    <item android:drawable="@drawable/ic_crop_circle_pressed_o" android:state_focused="true"/>
+    <item android:drawable="@drawable/ic_crop_circle_pressed_o" android:state_pressed="true"/>
     <item android:drawable="@drawable/ic_crop_circle_normal_o"/>
 </selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_lock_circle.xml b/vlc-android/res/drawable/ic_lock_circle.xml
index 871f35f..f382da3 100644
--- a/vlc-android/res/drawable/ic_lock_circle.xml
+++ b/vlc-android/res/drawable/ic_lock_circle.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
-    <item android:drawable="@drawable/ic_lock_circle_pressed_o" android:state_focused="true" android:state_pressed="false"/>
+    <item android:drawable="@drawable/ic_lock_circle_pressed_o" android:state_focused="true"/>
+    <item android:drawable="@drawable/ic_lock_circle_pressed_o" android:state_pressed="true"/>
     <item android:drawable="@drawable/ic_lock_circle_normal_o"/>
 </selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_more_circle.xml b/vlc-android/res/drawable/ic_more_circle.xml
index 2310551..cdd2f0d 100644
--- a/vlc-android/res/drawable/ic_more_circle.xml
+++ b/vlc-android/res/drawable/ic_more_circle.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
-    <item android:drawable="@drawable/ic_more_circle_pressed_o" android:state_focused="true" android:state_pressed="false"/>
+    <item android:drawable="@drawable/ic_more_circle_pressed_o" android:state_focused="true"/>
+    <item android:drawable="@drawable/ic_more_circle_pressed_o" android:state_pressed="true"/>
     <item android:drawable="@drawable/ic_more_circle_normal_o"/>
 </selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_pause_circle.xml b/vlc-android/res/drawable/ic_pause_circle.xml
index 0f6b6aa..c5483d9 100644
--- a/vlc-android/res/drawable/ic_pause_circle.xml
+++ b/vlc-android/res/drawable/ic_pause_circle.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
     <item android:drawable="@drawable/ic_pause_circle_pressed_o" android:state_focused="true"/>
-    <item android:drawable="@drawable/ic_pause_circle_pressed_o" android:state_pressed="true"/>
     <item android:drawable="@drawable/ic_pause_circle_normal_o"/>
 </selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_play_circle.xml b/vlc-android/res/drawable/ic_play_circle.xml
index 4fa5828..ac2d16c 100644
--- a/vlc-android/res/drawable/ic_play_circle.xml
+++ b/vlc-android/res/drawable/ic_play_circle.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
     <item android:drawable="@drawable/ic_play_circle_pressed_o" android:state_focused="true"/>
-    <item android:drawable="@drawable/ic_play_circle_pressed_o" android:state_pressed="true"/>
     <item android:drawable="@drawable/ic_play_circle_normal_o"/>
 </selector>
\ No newline at end of file



More information about the Android mailing list