[Android] video_grid: prevent focus loss
Mik Amchislavsky
git at videolan.org
Thu Oct 9 14:32:55 CEST 2014
vlc-ports/android | branch: tv | Mik Amchislavsky <hailmikhail at hotmail.com> | Sun Oct 5 14:29:01 2014 -0700| [b1932a443392891193d406635d5b45a8128e48ae] | committer: Geoffrey Métais
video_grid: prevent focus loss
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b1932a443392891193d406635d5b45a8128e48ae
---
vlc-android/res/layout/video_grid.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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" />
<LinearLayout
android:id="@id/android:empty"
More information about the Android
mailing list