[Android] sidelist: prevent focus loss
Mik Amchislavsky
git at videolan.org
Mon Oct 6 15:55:15 CEST 2014
vlc-ports/android | branch: master | Mik Amchislavsky <hailmikhail at gmail.com> | Sun Oct 5 14:27:54 2014 -0700| [9c0f2c0cf2330bcc3118a119bcd96eb914adf1a9] | committer: Geoffrey Métais
sidelist: prevent focus loss
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9c0f2c0cf2330bcc3118a119bcd96eb914adf1a9
---
vlc-android/res/layout/sidebar.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/layout/sidebar.xml b/vlc-android/res/layout/sidebar.xml
index 34fe075..6d420c0 100644
--- a/vlc-android/res/layout/sidebar.xml
+++ b/vlc-android/res/layout/sidebar.xml
@@ -10,6 +10,10 @@
android:layout_gravity="start"
android:cacheColorHint="#0000"
android:fastScrollEnabled="true"
- android:background="?attr/background_menu">
+ android:background="?attr/background_menu"
+ android:nextFocusUp="@+id/ml_menu_search"
+ android:nextFocusDown="@id/sidelist"
+ android:nextFocusLeft="@id/sidelist"
+ android:nextFocusRight="@id/sidelist" >
</ListView>
</merge>
More information about the Android
mailing list