Added an option to enable/disable swipe

This commit is contained in:
Prathamesh More 2022-05-12 09:50:34 +05:30
parent 3c26c39a5a
commit 4b08919d7d
6 changed files with 22 additions and 9 deletions

View file

@ -553,4 +553,6 @@
<string name="you_have_to_select_at_least_one_category">You have to select at least one category.</string>
<string name="you_will_be_forwarded_to_the_issue_tracker_website">You will be forwarded to the issue tracker website.</string>
<string name="your_account_data_is_only_used_for_authentication">Your account data is only used for authentication.</string>
<string name="pref_summary_swipe_to_dismiss">Swipe down to dismiss mini player</string>
<string name="pref_title_swipe_to_dismiss">Dismiss with swipe down</string>
</resources>

View file

@ -80,6 +80,13 @@
android:layout="@layout/preference_category_title"
android:title="@string/pref_header_controls">
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:layout="@layout/list_item_view_switch"
app:defaultValue="false"
app:key="swipe_to_dismiss"
app:summary="@string/pref_summary_swipe_to_dismiss"
app:title="@string/pref_title_swipe_to_dismiss" />
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:layout="@layout/list_item_view_switch"
app:defaultValue="false"