• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        <SwitchPreference
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            android:selectable="true"
50            settings:textStart="@string/low_label"
51            settings:textEnd="@string/high_label"/>
52
53        <com.android.settings.widget.LabeledSeekBarPreference
54            android:key="gesture_right_back_sensitivity"
55            android:title="@string/right_edge"
56            android:max="2"
57            android:selectable="true"
58            settings:textStart="@string/low_label"
59            settings:textEnd="@string/high_label"/>
60    </PreferenceCategory>
61
62    <com.android.settingslib.widget.FooterPreference
63        android:key="gesture_navigation_settings_footer"
64        android:title="@string/back_sensitivity_dialog_message"
65        android:selectable="false"
66        settings:searchable="false"/>
67</PreferenceScreen>
68
69