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

Nicolas Pomepuy git at videolan.org
Wed Jan 20 09:54:27 UTC 2021


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

Replace audio item overflow margin by padding to avoid misclicks

Fixes #1604

(cherry picked from commit cf29319685b1e72ee816086c9da3b006cd17b98a)

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

 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