Make it possible to scroll swipe actions dialog (#7174)

This commit is contained in:
ByteHamster 2024-05-10 08:14:03 +02:00 committed by GitHub
parent 8d3eb6aae9
commit 59c5042a65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 13 deletions

View File

@ -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>