[Android] Make video items focusable
Geoffrey Métais
git at videolan.org
Tue Apr 12 15:14:13 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Apr 12 15:13:08 2016 +0200| [a15a021fa0b971fe979cce2088a1ab536d8e70e9] | committer: Geoffrey Métais
Make video items focusable
> https://code.videolan.org/videolan/vlc-android/commit/a15a021fa0b971fe979cce2088a1ab536d8e70e9
---
vlc-android/res/layout/video_grid_card.xml | 1 +
vlc-android/res/layout/video_list_card.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/vlc-android/res/layout/video_grid_card.xml b/vlc-android/res/layout/video_grid_card.xml
index 16f83d5..9ce2e1f 100644
--- a/vlc-android/res/layout/video_grid_card.xml
+++ b/vlc-android/res/layout/video_grid_card.xml
@@ -45,6 +45,7 @@
android:layout_marginBottom="10dip"
android:longClickable="true"
android:clickable="true"
+ android:focusable="true"
android:onClick="@{holder.onClick}">
<android.support.v7.widget.CardView
android:id="@+id/card_view"
diff --git a/vlc-android/res/layout/video_list_card.xml b/vlc-android/res/layout/video_list_card.xml
index b7d7119..fab45c7 100644
--- a/vlc-android/res/layout/video_list_card.xml
+++ b/vlc-android/res/layout/video_list_card.xml
@@ -48,6 +48,7 @@
card_view:cardPreventCornerOverlap="false"
card_view:cardUseCompatPadding="true"
android:clickable="true"
+ android:focusable="true"
android:onClick="@{holder.onClick}"
android:longClickable="true">
More information about the Android
mailing list