From 44266bcb67afe562846429425e4a7fedeb8eaf7d Mon Sep 17 00:00:00 2001 From: Florian Renaud Date: Mon, 30 Jan 2023 11:17:06 +0100 Subject: [PATCH] Increase touch area of the seek bar --- ...item_timeline_event_voice_broadcast_listening_stub.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vector/src/main/res/layout/item_timeline_event_voice_broadcast_listening_stub.xml b/vector/src/main/res/layout/item_timeline_event_voice_broadcast_listening_stub.xml index de9b92884c..037e9ee67a 100644 --- a/vector/src/main/res/layout/item_timeline_event_voice_broadcast_listening_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_voice_broadcast_listening_stub.xml @@ -147,9 +147,11 @@ android:id="@+id/seekBar" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginTop="24dp" + android:layout_marginTop="20dp" android:paddingStart="0dp" + android:paddingTop="4dp" android:paddingEnd="0dp" + android:paddingBottom="4dp" android:progressDrawable="@drawable/bg_seek_bar" android:thumbOffset="3dp" android:thumbTint="?vctr_content_secondary" @@ -164,7 +166,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="4dp" - android:layout_marginTop="-3dp" + android:layout_marginTop="-7dp" android:textColor="?vctr_content_tertiary" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/seekBar" @@ -176,7 +178,7 @@ style="@style/Widget.Vector.TextView.Caption" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="-3dp" + android:layout_marginTop="-7dp" android:layout_marginEnd="4dp" android:textColor="?vctr_content_tertiary" app:layout_constraintEnd_toEndOf="parent"