[Android] Fix title placement on remote video player

Nicolas Pomepuy git at videolan.org
Wed Jul 24 15:18:30 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Tue Jul 23 14:44:19 2019 +0200| [97639bdb47fa845a706f816e7745feb9479dc902] | committer: Geoffrey Métais

Fix title placement on remote video player

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

 vlc-android/res/layout/player.xml                | 10 +++++-----
 vlc-android/res/layout/player_remote_control.xml | 20 ++++++++++----------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index a56fd42f8..e07145041 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -75,12 +75,12 @@
             android:layout_alignParentBottom="true"/>
 
         <androidx.appcompat.widget.ViewStubCompat
-            android:id="@+id/player_hud_right_stub"
+                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"/>
+                android:layout_height="wrap_content"
+                android:layout_alignParentTop="true"
+                android:layout_alignParentEnd="true"
+                android:layout="@layout/player_hud_right"/>
     </RelativeLayout>
 
     <androidx.constraintlayout.widget.ConstraintLayout
diff --git a/vlc-android/res/layout/player_remote_control.xml b/vlc-android/res/layout/player_remote_control.xml
index 3cefbc190..b27ed7bf7 100644
--- a/vlc-android/res/layout/player_remote_control.xml
+++ b/vlc-android/res/layout/player_remote_control.xml
@@ -76,16 +76,16 @@
             android:layout="@layout/player_hud" />
 
         <androidx.appcompat.widget.ViewStubCompat
-            android:id="@+id/player_hud_right_stub"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_alignParentTop="true"
-            android:layout_alignParentEnd="true"
-            android:layout_marginLeft="@dimen/overlay_margin"
-            android:layout_marginTop="@dimen/overlay_margin"
-            android:layout_marginRight="@dimen/overlay_margin"
-            android:layout_marginBottom="@dimen/overlay_margin"
-            android:layout="@layout/player_hud_right" />
+                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_marginLeft="@dimen/overlay_margin"
+                android:layout_marginTop="@dimen/overlay_margin"
+                android:layout_marginRight="@dimen/overlay_margin"
+                android:layout_marginBottom="@dimen/overlay_margin"
+                android:layout="@layout/player_hud_right"/>
 
     </RelativeLayout>
 



More information about the Android mailing list