aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/swipe_action_preferences.xml
blob: 60a34c1b028862a7355ab244cbb99a37df3293c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">

    <SwitchPreference
        app:defaultValue="false"
        app:key="enable_swipe_action"
        app:title="@string/settings_enable_swipe_action_title" />

    <SwitchPreference
        app:defaultValue="true"
        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" />

    <ListPreference
        app:defaultValue="0.3"
        app:entries="@array/settings_swipe_action_threshold"
        app:entryValues="@array/settings_swipe_action_threshold"
        app:key="swipe_action_threshold"
        app:title="@string/settings_swipe_action_threshold"
        app:useSimpleSummaryProvider="true" />

</PreferenceScreen>