Add an option to disable swiping between tabs in MainActivity.

This commit is contained in:
Alex Ning
2020-09-15 23:03:08 +08:00
parent 8ce4a0ef6b
commit 7c23be5d2f
6 changed files with 35 additions and 1 deletions

View File

@@ -6,4 +6,9 @@
app:key="vibrate_when_action_triggered"
app:title="@string/settings_vibrate_when_action_triggered_title" />
<SwitchPreference
app:defaultValue="false"
app:key="disable_swiping_between_tabs"
app:title="@string/settings_disable_swiping_between_tabs_title" />
</PreferenceScreen>