[Android] Fix audio player mask size

Nicolas Pomepuy git at videolan.org
Mon Oct 14 15:35:34 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Oct 10 11:53:43 2019 +0200| [40f0db6e60998971e8d4c1985740837fbe168fa2] | committer: Geoffrey Métais

Fix audio player mask size

> https://code.videolan.org/videolan/vlc-android/commit/40f0db6e60998971e8d4c1985740837fbe168fa2
---

 vlc-android/res/layout-land/audio_player.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/vlc-android/res/layout-land/audio_player.xml b/vlc-android/res/layout-land/audio_player.xml
index 644e09ede..066c0f09e 100644
--- a/vlc-android/res/layout-land/audio_player.xml
+++ b/vlc-android/res/layout-land/audio_player.xml
@@ -50,14 +50,14 @@
 
         <View
                 android:id="@+id/progressBarMask"
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                app:layout_constraintStart_toStartOf="@id/progressBar"
-                app:layout_constraintEnd_toEndOf="@id/progressBar"
-                app:layout_constraintTop_toTopOf="@id/progressBar"
-                app:layout_constraintBottom_toBottomOf="@id/progressBar"
+                android:layout_width="0dp"
+                android:layout_height="0dp"
                 android:alpha="0"
-                android:background="?attr/background_default_darker" />
+                android:background="?attr/background_default_darker"
+                app:layout_constraintBottom_toBottomOf="@id/progressBar"
+                app:layout_constraintEnd_toEndOf="@id/progressBar"
+                app:layout_constraintStart_toStartOf="@id/progressBar"
+                app:layout_constraintTop_toTopOf="@id/progressBar" />
 
         <androidx.constraintlayout.widget.ConstraintLayout
             android:id="@+id/header"



More information about the Android mailing list