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:persistent="false"> 28 29 <com.android.settingslib.widget.ButtonPreference 30 android:key="assistant_gesture_navigation_tutorial" 31 android:title="@string/gesture_navigation_tutorial_title" 32 android:icon="@drawable/tile_icon_show_taps" 33 settings:buttonPreferenceSize="normal" 34 settings:buttonPreferenceType="filled" /> 35 </PreferenceCategory> 36 37 <PreferenceCategory 38 android:key="assistant_gesture_category" 39 android:persistent="false" 40 android:title="@string/assistant_gesture_category_title"> 41 42 <SwitchPreferenceCompat 43 android:key="assistant_gesture_corner_swipe" 44 android:title="@string/assistant_corner_gesture_title" 45 android:summary="@string/assistant_corner_gesture_summary" 46 settings:controller="com.android.settings.gestures.GestureNavigationSettingsAssistController" 47 /> 48 49 </PreferenceCategory> 50 51 <PreferenceCategory 52 android:key="back_sensitivity_category" 53 android:persistent="false" 54 android:title="@string/back_sensitivity_dialog_title"> 55 56 <com.android.settings.widget.LabeledSeekBarPreference 57 android:key="gesture_left_back_sensitivity" 58 android:title="@string/left_edge" 59 android:max="2" 60 settings:textStart="@string/low_label" 61 settings:textEnd="@string/high_label"/> 62 63 <com.android.settings.widget.LabeledSeekBarPreference 64 android:key="gesture_right_back_sensitivity" 65 android:title="@string/right_edge" 66 android:max="2" 67 settings:textStart="@string/low_label" 68 settings:textEnd="@string/high_label"/> 69 </PreferenceCategory> 70 71 <com.android.settingslib.widget.FooterPreference 72 android:key="gesture_navigation_settings_footer" 73 android:title="@string/back_sensitivity_dialog_message" 74 android:selectable="false" 75 settings:searchable="false"/> 76</PreferenceScreen> 77 78