[Android] Fix the mini player button placement on tablets

Nicolas Pomepuy git at videolan.org
Tue Jul 18 12:36:28 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jul 18 12:52:57 2023 +0200| [bc90fd3efc1b6d11f363194f3b150811e8ffecab] | committer: Nicolas Pomepuy

Fix the mini player button placement on tablets

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

 application/vlc-android/res/layout/audio_player.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/application/vlc-android/res/layout/audio_player.xml b/application/vlc-android/res/layout/audio_player.xml
index f245bb6ba2..ea9f746a34 100644
--- a/application/vlc-android/res/layout/audio_player.xml
+++ b/application/vlc-android/res/layout/audio_player.xml
@@ -151,9 +151,8 @@
                     android:onLongClick="@{fragment::onStopClick}"
                     android:padding="4dp"
                     android:visibility="gone"
-                    android:layout_marginTop="8dp"
+                    app:layout_constraintBottom_toBottomOf="parent"
                     app:layout_constraintEnd_toStartOf="@+id/header_next"
-                    app:layout_constraintHorizontal_bias="0.5"
                     app:layout_constraintStart_toEndOf="@+id/header_previous"
                     app:layout_constraintTop_toTopOf="parent" />
 



More information about the Android mailing list