summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-02-05 11:38:30 +0100
committerByteHamster <info@bytehamster.com>2020-02-05 11:39:28 +0100
commit3ca6be8b04cf3c96517cb5ca9c16d2b0b67eead5 (patch)
tree221101997d5f8d71becd550423d4cd57352f1b67 /app/src/main/res/layout
parent29010b857e6360da6634107e9bb0f0906bd6ea6c (diff)
downloadAntennaPod-3ca6be8b04cf3c96517cb5ca9c16d2b0b67eead5.zip
Increase touchable area
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/secondary_action.xml21
1 files changed, 11 insertions, 10 deletions
diff --git a/app/src/main/res/layout/secondary_action.xml b/app/src/main/res/layout/secondary_action.xml
index d083d5181..ac8d6504c 100644
--- a/app/src/main/res/layout/secondary_action.xml
+++ b/app/src/main/res/layout/secondary_action.xml
@@ -2,20 +2,21 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="48dp"
- android:layout_height="match_parent"
+ android:layout_height="48dp"
android:layout_marginRight="16dp"
- android:layout_marginEnd="16dp">
+ android:layout_marginEnd="16dp"
+ android:id="@+id/secondaryActionButton"
+ android:background="?selectableItemBackgroundBorderless"
+ android:clickable="true"
+ android:focusable="false"
+ android:focusableInTouchMode="false" >
- <ImageButton
- android:id="@+id/butSecondaryAction"
- android:layout_width="32dp"
- android:layout_height="32dp"
- android:clickable="false"
- android:focusable="false"
+ <ImageView
+ android:id="@+id/secondaryActionIcon"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:layout_gravity="center"
- android:focusableInTouchMode="false"
tools:ignore="ContentDescription"
- android:background="?selectableItemBackgroundBorderless"
tools:src="@sample/secondaryaction"/>
<de.danoeh.antennapod.view.CircularProgressBar