[Android] [PATCH] sidelist: prevent focus loss
Mik Amchislavsky
hailmikhail at gmail.com
Sun Oct 5 23:27:54 CEST 2014
---
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>
--
1.7.9.5
More information about the Android
mailing list