[Android] Fix audio player controls offset on tablets in portrait mode

Nicolas Pomepuy git at videolan.org
Tue Feb 8 14:39:35 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Feb  4 08:46:10 2022 +0100| [3b4d356154b700111242be7eb8ace58233a7f96c] | committer: Nicolas Pomepuy

Fix audio player controls offset on tablets in portrait mode

The controls where offset when a chip was shown (playback speed for example)

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

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

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



More information about the Android mailing list