[Android] make speed_reset image focusable

Geoffrey Métais git at videolan.org
Thu Jul 30 18:48:24 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul 30 18:47:38 2015 +0200| [ee2ee605e25f883bf38af7cfb8d39766c1d3dbba] | committer: Geoffrey Métais

make speed_reset image focusable

This makes it usable with a TV remote

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ee2ee605e25f883bf38af7cfb8d39766c1d3dbba
---

 vlc-android/res/layout/dialog_playback_speed.xml |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/res/layout/dialog_playback_speed.xml b/vlc-android/res/layout/dialog_playback_speed.xml
index f2fd47f..920ebfb 100644
--- a/vlc-android/res/layout/dialog_playback_speed.xml
+++ b/vlc-android/res/layout/dialog_playback_speed.xml
@@ -38,6 +38,7 @@
             android:id="@+id/playback_speed_reset"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
+            android:focusable="true"
             android:nextFocusDown="@+id/playback_speed_seek"
             android:layout_alignParentRight="true"
             android:src="@drawable/ic_speed_reset" />



More information about the Android mailing list