aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/xml/swipe_action_preferences.xml
blob: efdbed678c9cec800f8ce5385f6852830b05f39a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                      



                                                                
                     


                                                                 














                                                                   






                                                                
                     
                                               
                                                                          
 



                                                                          
                  
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">

    <Preference
        app:icon="@drawable/ic_info_preference_24dp"
        app:summary="@string/settings_swipe_action_info_summary"
        app:enabled="false" />

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

    <ListPreference
        app:defaultValue="0"
        app:entries="@array/settings_swipe_actions"
        app:entryValues="@array/settings_swipe_actions_values"
        app:key="swipe_left_action"
        app:title="@string/settings_swipe_action_swipe_left_title"
        app:useSimpleSummaryProvider="true" />

    <ListPreference
        app:defaultValue="1"
        app:entries="@array/settings_swipe_actions"
        app:entryValues="@array/settings_swipe_actions_values"
        app:key="swipe_right_action"
        app:title="@string/settings_swipe_action_swipe_right_title"
        app:useSimpleSummaryProvider="true" />

    <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" />

    <SwitchPreference
        app:defaultValue="true"
        app:key="vibrate_when_action_triggered"
        app:title="@string/settings_swipe_action_haptic_feedback_title" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="disable_swiping_between_tabs"
        app:title="@string/settings_disable_swiping_between_tabs_title" />

</PreferenceScreen>