[Android] Replace audio item overflow margin by padding to avoid misclicks

Nicolas Pomepuy git at videolan.org
Fri Jan 8 04:54:59 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jan  7 10:22:44 2021 +0100| [cf29319685b1e72ee816086c9da3b006cd17b98a] | committer: Nicolas Pomepuy

Replace audio item overflow margin by padding to avoid misclicks

Fixes #1604

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

 application/vlc-android/res/layout/audio_browser_item.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/application/vlc-android/res/layout/audio_browser_item.xml b/application/vlc-android/res/layout/audio_browser_item.xml
index 903ab4012..c198f814c 100644
--- a/application/vlc-android/res/layout/audio_browser_item.xml
+++ b/application/vlc-android/res/layout/audio_browser_item.xml
@@ -130,7 +130,8 @@
                 android:id="@+id/item_more"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:layout_marginEnd="8dp"
+                android:paddingEnd="8dp"
+                android:paddingStart="8dp"
                 android:contentDescription="@string/more_actions"
                 android:onClick="@{holder::onMoreClick}"
                 android:scaleType="center"



More information about the Android mailing list