[Android] Restore selected state on play/pause press
Geoffrey Métais
git at videolan.org
Tue Jan 20 17:54:08 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 20 17:52:25 2015 +0100| [ff54fb1d58cbad67dfc2b8c48946e761c7bca615] | committer: Geoffrey Métais
Restore selected state on play/pause press
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ff54fb1d58cbad67dfc2b8c48946e761c7bca615
---
vlc-android/res/drawable/ic_pause_circle.xml | 3 ++-
vlc-android/res/drawable/ic_play_circle.xml | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/vlc-android/res/drawable/ic_pause_circle.xml b/vlc-android/res/drawable/ic_pause_circle.xml
index 75480e4..0f6b6aa 100644
--- a/vlc-android/res/drawable/ic_pause_circle.xml
+++ b/vlc-android/res/drawable/ic_pause_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_pause_circle_pressed_o" android:state_focused="true" android:state_pressed="false"/>
+ <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 6871929..4fa5828 100644
--- a/vlc-android/res/drawable/ic_play_circle.xml
+++ b/vlc-android/res/drawable/ic_play_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_play_circle_pressed_o" android:state_focused="true" android:state_pressed="false"/>
+ <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