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"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"> android:padding="16dp">
<com.google.android.material.materialswitch.MaterialSwitch <LinearLayout
android:id="@+id/enableSwitch"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:checked="true" android:orientation="vertical">
android:text="@string/enable_swipeactions" />
<include <com.google.android.material.materialswitch.MaterialSwitch
android:id="@+id/actionLeftContainer" android:id="@+id/enableSwitch"
layout="@layout/swipeactions_row" /> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/enable_swipeactions" />
<include <include
android:id="@+id/actionRightContainer" android:id="@+id/actionLeftContainer"
layout="@layout/swipeactions_row" /> layout="@layout/swipeactions_row" />
</LinearLayout> <include
android:id="@+id/actionRightContainer"
layout="@layout/swipeactions_row" />
</LinearLayout>
</ScrollView>