summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-05-10 08:14:03 +0200
committerGitHub <noreply@github.com>2024-05-10 08:14:03 +0200
commit59c5042a65a2ecd95316727c8a91719204ebcba0 (patch)
tree02ca9287eae3dedb7a8a59609fbf4b216d833167
parent8d3eb6aae92e0b350b42b35f0ce716925dd24569 (diff)
downloadAntennaPod-59c5042a65a2ecd95316727c8a91719204ebcba0.zip
Make it possible to scroll swipe actions dialog (#7174)
-rw-r--r--app/src/main/res/layout/swipeactions_dialog.xml32
1 files changed, 19 insertions, 13 deletions
diff --git a/app/src/main/res/layout/swipeactions_dialog.xml b/app/src/main/res/layout/swipeactions_dialog.xml
index 637c376d5..e672a7b7e 100644
--- a/app/src/main/res/layout/swipeactions_dialog.xml
+++ b/app/src/main/res/layout/swipeactions_dialog.xml
@@ -1,24 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
+<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
android:padding="16dp">
- <com.google.android.material.materialswitch.MaterialSwitch
- android:id="@+id/enableSwitch"
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:checked="true"
- android:text="@string/enable_swipeactions" />
+ android:orientation="vertical">
- <include
- android:id="@+id/actionLeftContainer"
- layout="@layout/swipeactions_row" />
+ <com.google.android.material.materialswitch.MaterialSwitch
+ android:id="@+id/enableSwitch"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:checked="true"
+ android:text="@string/enable_swipeactions" />
- <include
- android:id="@+id/actionRightContainer"
- layout="@layout/swipeactions_row" />
+ <include
+ android:id="@+id/actionLeftContainer"
+ layout="@layout/swipeactions_row" />
-</LinearLayout>
+ <include
+ android:id="@+id/actionRightContainer"
+ layout="@layout/swipeactions_row" />
+
+ </LinearLayout>
+
+</ScrollView>