[Android] Albums: fix album info overlapping with buttons
Duncan McNamara
git at videolan.org
Thu Jun 16 13:27:01 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Jun 15 14:20:06 2022 +0200| [341a4f241df98cf5b26fb5bde0dc9991e7261e38] | committer: Nicolas Pomepuy
Albums: fix album info overlapping with buttons
> https://code.videolan.org/videolan/vlc-android/commit/341a4f241df98cf5b26fb5bde0dc9991e7261e38
---
application/vlc-android/res/layout/playlist_activity.xml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/application/vlc-android/res/layout/playlist_activity.xml b/application/vlc-android/res/layout/playlist_activity.xml
index 6cef9b5a7..459e3f3a9 100644
--- a/application/vlc-android/res/layout/playlist_activity.xml
+++ b/application/vlc-android/res/layout/playlist_activity.xml
@@ -148,6 +148,14 @@
vlc:layout_constraintStart_toEndOf="@+id/playlist_cover"
vlc:layout_constraintTop_toBottomOf="@+id/release_date" />
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ vlc:barrierDirection="bottom"
+ vlc:constraint_referenced_ids="playlist_cover, duration"
+ />
+
<Button
android:id="@+id/play_btn"
android:layout_width="wrap_content"
@@ -159,7 +167,7 @@
android:text="@string/play"
vlc:layout_constraintBottom_toBottomOf="parent"
vlc:layout_constraintStart_toStartOf="parent"
- vlc:layout_constraintTop_toBottomOf="@+id/playlist_cover" />
+ vlc:layout_constraintTop_toBottomOf="@+id/barrier" />
<ImageView
android:id="@+id/btn_add_playlist"
More information about the Android
mailing list