[Android] [PATCH] sidelist: prevent focus loss

Mik Amchislavsky hailmikhail at gmail.com
Sun Oct 5 01:48:53 CEST 2014


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141004/1f80011d/attachment.html>


More information about the Android mailing list