1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4  ~ Copyright (C) 2019 The Android Open Source Project
5  ~
6  ~ Licensed under the Apache License, Version 2.0 (the "License");
7  ~ you may not use this file except in compliance with the License.
8  ~ You may obtain a copy of the License at
9  ~
10  ~      http://www.apache.org/licenses/LICENSE-2.0
11  ~
12  ~ Unless required by applicable law or agreed to in writing, software
13  ~ distributed under the License is distributed on an "AS IS" BASIS,
14  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  ~ See the License for the specific language governing permissions and
16  ~ limitations under the License
17  -->
18
19<PreferenceScreen
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    xmlns:settings="http://schemas.android.com/apk/res-auto"
22    android:key="gesture_navigation_settings_page"
23    android:title="@string/gesture_settings_activity_title"
24    settings:keywords="@string/keywords_gesture_navigation_settings">
25
26    <PreferenceCategory
27        android:key="assistant_gesture_category"
28        android:persistent="false"
29        android:title="@string/assistant_gesture_category_title">
30
31        <SwitchPreferenceCompat
32            android:key="assistant_gesture_corner_swipe"
33            android:title="@string/assistant_corner_gesture_title"
34            android:summary="@string/assistant_corner_gesture_summary"
35            settings:controller="com.android.settings.gestures.GestureNavigationSettingsAssistController"
36        />
37
38    </PreferenceCategory>
39
40    <PreferenceCategory
41        android:key="back_sensitivity_category"
42        android:persistent="false"
43        android:title="@string/back_sensitivity_dialog_title">
44
45        <com.android.settings.widget.LabeledSeekBarPreference
46            android:key="gesture_left_back_sensitivity"
47            android:title="@string/left_edge"
48            android:max="2"
49            settings:textStart="@string/low_label"
50            settings:textEnd="@string/high_label"/>
51
52        <com.android.settings.widget.LabeledSeekBarPreference
53            android:key="gesture_right_back_sensitivity"
54            android:title="@string/right_edge"
55            android:max="2"
56            settings:textStart="@string/low_label"
57            settings:textEnd="@string/high_label"/>
58    </PreferenceCategory>
59
60    <com.android.settingslib.widget.FooterPreference
61        android:key="gesture_navigation_settings_footer"
62        android:title="@string/back_sensitivity_dialog_message"
63        android:selectable="false"
64        settings:searchable="false"/>
65</PreferenceScreen>
66
67