[Android] TV: Set focus on ext device dialog

Geoffrey Métais git at videolan.org
Mon Feb 25 18:53:55 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 25 18:18:35 2019 +0100| [167105a9b7821639c5360b9866c2971b392c6b3b] | committer: Geoffrey Métais

TV: Set focus on ext device dialog

> https://code.videolan.org/videolan/vlc-android/commit/167105a9b7821639c5360b9866c2971b392c6b3b
---

 vlc-android/res/layout/dialog_ext_device.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/dialog_ext_device.xml b/vlc-android/res/layout/dialog_ext_device.xml
index 885a3310a..cccfef926 100644
--- a/vlc-android/res/layout/dialog_ext_device.xml
+++ b/vlc-android/res/layout/dialog_ext_device.xml
@@ -37,7 +37,9 @@
             app:layout_constraintEnd_toEndOf="parent"
             app:layout_constraintHorizontal_bias="0.5"
             app:layout_constraintStart_toEndOf="@+id/ext_device_scan"
-            app:layout_constraintTop_toBottomOf="@+id/ext_device_summary" />
+            app:layout_constraintTop_toBottomOf="@+id/ext_device_summary" >
+            <requestFocus />
+        </Button>
 
         <Button
             android:id="@+id/ext_device_scan"



More information about the Android mailing list