[Android] Set the context sheet items height to at least 48dp

Nicolas Pomepuy git at videolan.org
Mon Oct 7 11:28:26 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Sep 12 12:54:23 2024 +0200| [6aab963a4f2e0a7457cef843ed0e28446786adca] | committer: Nicolas Pomepuy

Set the context sheet items height to at least 48dp

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

 application/vlc-android/res/layout/context_item.xml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/application/vlc-android/res/layout/context_item.xml b/application/vlc-android/res/layout/context_item.xml
index fb893d2934..13a39129ab 100644
--- a/application/vlc-android/res/layout/context_item.xml
+++ b/application/vlc-android/res/layout/context_item.xml
@@ -14,10 +14,11 @@
 
     <androidx.constraintlayout.widget.ConstraintLayout
             android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:background="?attr/selectableItemBackground"
-        android:clickable="true"
-        android:focusable="true">
+            android:layout_height="wrap_content"
+            android:background="?attr/selectableItemBackground"
+            android:clickable="true"
+            android:focusable="true"
+            android:minHeight="48dp">
 
         <ImageView
                 android:id="@+id/context_option_icon"



More information about the Android mailing list