[Android] Fix audio mini player vertical centering
Nicolas Pomepuy
git at videolan.org
Tue Mar 8 16:56:22 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Mar 8 15:13:06 2022 +0100| [34b3bb5e86100ab99135c205deaa1f6bbb241bb6] | committer: Nicolas Pomepuy
Fix audio mini player vertical centering
> https://code.videolan.org/videolan/vlc-android/commit/34b3bb5e86100ab99135c205deaa1f6bbb241bb6
---
application/vlc-android/res/layout/audio_media_switcher_item.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/application/vlc-android/res/layout/audio_media_switcher_item.xml b/application/vlc-android/res/layout/audio_media_switcher_item.xml
index 901aa0e10..4a016da2e 100644
--- a/application/vlc-android/res/layout/audio_media_switcher_item.xml
+++ b/application/vlc-android/res/layout/audio_media_switcher_item.xml
@@ -7,8 +7,7 @@
android:background="#00000000"
android:orientation="horizontal"
android:paddingStart="10dip"
- android:paddingLeft="10dip"
- android:paddingTop="5dp">
+ android:paddingLeft="10dip">
<ImageView
android:id="@+id/cover"
@@ -19,6 +18,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
+ tools:srcCompat="@tools:sample/avatars"
tools:visibility="visible" />
<TextView
@@ -56,6 +56,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/cover"
- app:layout_constraintTop_toBottomOf="@id/title" />
+ app:layout_constraintTop_toBottomOf="@id/title"
+ tools:text="artist" />
</androidx.constraintlayout.widget.ConstraintLayout>
More information about the Android
mailing list