[Android] Video player: modify focus behavior for keyboard navigation
Alexandre Perraud
git at videolan.org
Thu Oct 2 10:21:19 CEST 2014
vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Oct 1 17:38:56 2014 +0200| [27ca514a0bde97d14feeb6b8b33d52564ac7912a] | committer: Jean-Baptiste Kempf
Video player: modify focus behavior for keyboard navigation
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=27ca514a0bde97d14feeb6b8b33d52564ac7912a
---
vlc-android/res/drawable/ic_audio_circle.xml | 4 ++--
vlc-android/res/drawable/ic_backward_w.xml | 4 ++--
vlc-android/res/drawable/ic_crop_circle.xml | 4 ++--
vlc-android/res/drawable/ic_forward_w.xml | 4 ++--
vlc-android/res/drawable/ic_navmenu_circle.xml | 4 ++--
vlc-android/res/drawable/ic_pause_circle.xml | 4 ++--
vlc-android/res/drawable/ic_play_circle.xml | 4 ++--
vlc-android/res/drawable/ic_subtitle_circle.xml | 4 ++--
8 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/vlc-android/res/drawable/ic_audio_circle.xml b/vlc-android/res/drawable/ic_audio_circle.xml
index 75256e2..1462fa7 100644
--- a/vlc-android/res/drawable/ic_audio_circle.xml
+++ b/vlc-android/res/drawable/ic_audio_circle.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_audio_circle_normal" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_audio_circle_pressed" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_audio_circle_pressed" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_audio_circle_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_audio_circle_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_audio_circle_normal"/>
</selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_backward_w.xml b/vlc-android/res/drawable/ic_backward_w.xml
index 4bd29a0..b561a3d 100644
--- a/vlc-android/res/drawable/ic_backward_w.xml
+++ b/vlc-android/res/drawable/ic_backward_w.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_backward_normal_w" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_backward_pressed_w" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_backward_pressed_w" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_backward_normal_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_backward_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_backward_normal_w"/>
</selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_crop_circle.xml b/vlc-android/res/drawable/ic_crop_circle.xml
index 02f6ca1..9e9e6e8 100644
--- a/vlc-android/res/drawable/ic_crop_circle.xml
+++ b/vlc-android/res/drawable/ic_crop_circle.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_crop_circle_normal" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_crop_circle_pressed" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_crop_circle_pressed" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_crop_circle_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_crop_circle_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_crop_circle_normal"/>
</selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_forward_w.xml b/vlc-android/res/drawable/ic_forward_w.xml
index b6bfa0a..583e501 100644
--- a/vlc-android/res/drawable/ic_forward_w.xml
+++ b/vlc-android/res/drawable/ic_forward_w.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_forward_normal_w" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_forward_pressed_w" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_forward_pressed_w" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_forward_normal_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_forward_pressed_w" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_forward_normal_w"/>
</selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_navmenu_circle.xml b/vlc-android/res/drawable/ic_navmenu_circle.xml
index 1950fdf..669d18b 100644
--- a/vlc-android/res/drawable/ic_navmenu_circle.xml
+++ b/vlc-android/res/drawable/ic_navmenu_circle.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_navmenu_circle_normal" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_navmenu_circle_pressed" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_navmenu_circle_pressed" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_navmenu_circle_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_navmenu_circle_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_navmenu_circle_normal"/>
</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 f4e587a..0265b29 100644
--- a/vlc-android/res/drawable/ic_pause_circle.xml
+++ b/vlc-android/res/drawable/ic_pause_circle.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_pause_circle_normal" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_pause_circle_pressed" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_pause_circle_pressed" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_pause_circle_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_pause_circle_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_pause_circle_normal"/>
</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 c7fa19e..dce9c67 100644
--- a/vlc-android/res/drawable/ic_play_circle.xml
+++ b/vlc-android/res/drawable/ic_play_circle.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_play_circle_normal" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_play_circle_pressed" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_play_circle_pressed" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_play_circle_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_play_circle_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_play_circle_normal"/>
</selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/ic_subtitle_circle.xml b/vlc-android/res/drawable/ic_subtitle_circle.xml
index 5041178..efdf843 100644
--- a/vlc-android/res/drawable/ic_subtitle_circle.xml
+++ b/vlc-android/res/drawable/ic_subtitle_circle.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/ic_subtitle_circle_normal" android:state_focused="true" android:state_pressed="false"/>
- <item android:drawable="@drawable/ic_subtitle_circle_pressed" android:state_focused="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ic_subtitle_circle_pressed" android:state_focused="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ic_subtitle_circle_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_subtitle_circle_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_subtitle_circle_normal"/>
</selector>
\ No newline at end of file
More information about the Android
mailing list