[Android] Fix overlay length and time positions in RTL mode

Habib Kazemi git at videolan.org
Tue Jan 5 08:08:18 UTC 2021


vlc-android | branch: master | Habib Kazemi <kazemihabib1996 at gmail.com> | Wed Dec 30 11:14:36 2020 +0330| [be2c207d8b0f607d5db7efaf0d494382cfd68076] | committer: Nicolas Pomepuy

Fix overlay length and time positions in RTL mode

Fixes #1578 problem 4

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

 application/vlc-android/res/layout/player_hud.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/vlc-android/res/layout/player_hud.xml b/application/vlc-android/res/layout/player_hud.xml
index b625d0f83..e5a3e5ff6 100644
--- a/application/vlc-android/res/layout/player_hud.xml
+++ b/application/vlc-android/res/layout/player_hud.xml
@@ -191,7 +191,7 @@
                     android:layout_height="wrap_content"
                     android:layout_marginStart="24dp"
                     vlc:layout_constraintHorizontal_chainStyle="spread_inside"
-                    vlc:layout_constraintStart_toStartOf="parent"
+                    vlc:layout_constraintLeft_toLeftOf="parent"
                     vlc:layout_constraintTop_toTopOf="parent">
 
                 <TextView
@@ -212,7 +212,7 @@
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:layout_marginEnd="24dp"
-                    vlc:layout_constraintEnd_toEndOf="parent"
+                    vlc:layout_constraintRight_toRightOf="parent"
                     vlc:layout_constraintTop_toTopOf="parent">
 
                 <TextView



More information about the Android mailing list