[Android] Albums: increase overflow item_more height

Duncan McNamara git at videolan.org
Tue Sep 20 05:17:43 UTC 2022


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Mon Sep 19 14:35:14 2022 +0200| [cd55e5391b026080e06be566e4311f4eee9e2de4] | committer: Nicolas Pomepuy

Albums: increase overflow item_more height

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

 application/vlc-android/res/layout/audio_album_track_item.xml | 8 +++-----
 1 file changed, 3 insertions(+), 5 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 c0a778fbe..0615422c0 100644
--- a/application/vlc-android/res/layout/audio_album_track_item.xml
+++ b/application/vlc-android/res/layout/audio_album_track_item.xml
@@ -64,9 +64,7 @@
             android:longClickable="true"
             android:minHeight="@dimen/audio_browser_item_size"
             android:onClick="@{holder::onClick}"
-            android:onLongClick="@{holder::onLongClick}"
-            android:paddingTop="@dimen/half_default_margin"
-            android:paddingBottom="@dimen/half_default_margin">
+            android:onLongClick="@{holder::onLongClick}">
 
         <TextView
                 android:id="@+id/track_number"
@@ -166,13 +164,13 @@
         <ImageView
                 android:id="@+id/item_more"
                 android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
+                android:layout_height="0dp"
                 android:background="?attr/selectableItemBackgroundBorderless"
                 android:contentDescription="@string/more_actions"
                 android:onClick="@{holder::onMoreClick}"
                 android:paddingStart="8dp"
                 android:paddingEnd="8dp"
-                android:scaleType="center"
+                android:scaleType="fitCenter"
                 android:visibility="@{isPresent && !inSelection ? View.VISIBLE : View.INVISIBLE}"
                 vlc:layout_constraintBottom_toBottomOf="parent"
                 vlc:layout_constraintEnd_toEndOf="parent"



More information about the Android mailing list