[Android] Audio list item: increase the overflow height to prevent mis-clicks
Nicolas Pomepuy
git at videolan.org
Tue Sep 20 05:17:43 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Sep 19 07:48:41 2022 +0200| [fbe8218bf9b739ba375efdda305cf798e1aca9a0] | committer: Nicolas Pomepuy
Audio list item: increase the overflow height to prevent mis-clicks
> https://code.videolan.org/videolan/vlc-android/commit/fbe8218bf9b739ba375efdda305cf798e1aca9a0
---
application/vlc-android/res/layout/audio_browser_item.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/application/vlc-android/res/layout/audio_browser_item.xml b/application/vlc-android/res/layout/audio_browser_item.xml
index 8011bd7dc..e408d9d59 100644
--- a/application/vlc-android/res/layout/audio_browser_item.xml
+++ b/application/vlc-android/res/layout/audio_browser_item.xml
@@ -226,17 +226,17 @@
<ImageView
android:id="@+id/item_more"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="8dp"
+ android:layout_height="0dp"
+ android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/more_actions"
android:onClick="@{holder::onMoreClick}"
+ android:padding="8dp"
android:scaleType="center"
- vlc:srcCompat="@drawable/ic_more"
android:visibility="@{isPresent && !inSelection ? View.VISIBLE : View.INVISIBLE}"
- android:background="?attr/selectableItemBackgroundBorderless"
- vlc:layout_constraintBottom_toBottomOf="@+id/subtitle"
+ vlc:layout_constraintBottom_toBottomOf="parent"
vlc:layout_constraintEnd_toEndOf="parent"
- vlc:layout_constraintTop_toTopOf="@+id/title" />
+ vlc:layout_constraintTop_toTopOf="parent"
+ vlc:srcCompat="@drawable/ic_more" />
<ImageView
android:id="@+id/selected_check"
More information about the Android
mailing list