[Android] Increase the album item size
Nicolas Pomepuy
git at videolan.org
Mon Nov 25 11:17:45 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Nov 18 10:00:00 2024 +0100| [12f42f2912c2b4e805ecfbbb16b76523ce0ca09f] | committer: Duncan McNamara
Increase the album item size
> https://code.videolan.org/videolan/vlc-android/commit/12f42f2912c2b4e805ecfbbb16b76523ce0ca09f
---
application/vlc-android/res/layout/audio_album_track_item.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/application/vlc-android/res/layout/audio_album_track_item.xml b/application/vlc-android/res/layout/audio_album_track_item.xml
index cd9a4ca1b5..f12be4219b 100644
--- a/application/vlc-android/res/layout/audio_album_track_item.xml
+++ b/application/vlc-android/res/layout/audio_album_track_item.xml
@@ -78,9 +78,8 @@
android:contentDescription="@{TalkbackUtil.INSTANCE.getTrackNumber(context, item)}"
android:minWidth="20dp"
tools:text="1."
- vlc:layout_constraintBottom_toBottomOf="@id/title"
- vlc:layout_constraintStart_toStartOf="parent"
- vlc:layout_constraintTop_toTopOf="@id/title" />
+ vlc:layout_constraintBaseline_toBaselineOf="@id/title"
+ vlc:layout_constraintStart_toStartOf="parent"/>
<org.videolan.vlc.gui.view.MiniVisualizer
android:id="@+id/playing"
@@ -98,7 +97,9 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/default_margin"
+ android:layout_marginTop="8dp"
android:layout_marginEnd="@dimen/default_margin"
+ android:layout_marginBottom="4dp"
android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="true"
@@ -113,6 +114,8 @@
android:id="@+id/subtitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginBottom="8dp"
android:contentDescription="@{TalkbackUtil.INSTANCE.getTimeAndArtist(context, item)}"
android:ellipsize="end"
android:gravity="center_vertical"
More information about the Android
mailing list