[Android] Make the audioplayer intercept click events

Geoffrey Métais git at videolan.org
Tue Mar 7 15:01:32 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Mar  7 15:00:14 2017 +0100| [53b85d0d473a96300f6ace96614374d9285f3f28] | committer: Geoffrey Métais

Make the audioplayer intercept click events

> https://code.videolan.org/videolan/vlc-android/commit/53b85d0d473a96300f6ace96614374d9285f3f28
---

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

diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 0f33d5a..c9a54e4 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -9,7 +9,8 @@
         android:id="@+id/content_layout"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:background="?attr/background_default_darker">
+        android:background="?attr/background_default_darker"
+        android:clickable="true">
         <ImageView
             android:id="@+id/backgroundView"
             android:layout_width="match_parent"



More information about the Android mailing list