[Android] Fix video stats button overlapped

Nicolas Pomepuy git at videolan.org
Thu Apr 30 09:37:47 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr 29 15:20:53 2020 +0200| [f6e88ce8ad12ecc3d8cc1b0c7b16408ac8795b44] | committer: Nicolas Pomepuy

Fix video stats button overlapped

Fixes #1302

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

 application/vlc-android/res/layout/player.xml | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/application/vlc-android/res/layout/player.xml b/application/vlc-android/res/layout/player.xml
index fbd913bdb..7bc4823e2 100644
--- a/application/vlc-android/res/layout/player.xml
+++ b/application/vlc-android/res/layout/player.xml
@@ -64,6 +64,14 @@
                 android:layout_alignParentRight="true"
                 android:layout_marginRight="@dimen/default_margin" />
 
+        <androidx.appcompat.widget.ViewStubCompat
+                android:id="@+id/player_hud_right_stub"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_alignParentTop="true"
+                android:layout_alignParentEnd="true"
+                android:layout="@layout/player_hud_right" />
+
         <androidx.appcompat.widget.ViewStubCompat
                 android:id="@+id/player_hud_stub"
                 android:layout_width="800dp"
@@ -74,13 +82,6 @@
                 android:layout_marginLeft="@dimen/overlay_margin"
                 android:layout_alignParentBottom="true" />
 
-        <androidx.appcompat.widget.ViewStubCompat
-                android:id="@+id/player_hud_right_stub"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_alignParentTop="true"
-                android:layout_alignParentEnd="true"
-                android:layout="@layout/player_hud_right" />
     </RelativeLayout>
 
     <androidx.constraintlayout.widget.ConstraintLayout



More information about the Android mailing list