[Android] [PATCH] video_grid: prevent focus loss

Mik Amchislavsky hailmikhail at gmail.com
Sun Oct 5 01:56:52 CEST 2014


diff --git a/vlc-android/res/layout/video_grid.xml
b/vlc-android/res/layout/video_grid.xml
index 1f6f386..ce1aafd 100644
--- a/vlc-android/res/layout/video_grid.xml
+++ b/vlc-android/res/layout/video_grid.xml
@@ -14,7 +14,11 @@
         android:numColumns="auto_fit"
         android:fastScrollEnabled="true"
         android:fadingEdge="none"
-        android:gravity="center" />
+        android:gravity="center"
+        android:nextFocusUp="@+id/ml_menu_search"
+        android:nextFocusDown="@id/android:list"
+        android:nextFocusLeft="@id/android:list"
+        android:nextFocusRight="@id/android:list" />
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141004/f6d40c89/attachment.html>


More information about the Android mailing list