Mehdi Alizadeh | 0355596 | 2019-12-13 15:31:53 -0800 | [diff] [blame] | 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="back_sensitivity_category" |
| 28 | android:persistent="false" |
| 29 | android:title="@string/back_sensitivity_dialog_title"> |
| 30 | |
Raff Tsai | 00c79ae | 2019-12-20 13:29:10 +0800 | [diff] [blame] | 31 | <com.android.settings.widget.LabeledSeekBarPreference |
Mehdi Alizadeh | 0355596 | 2019-12-13 15:31:53 -0800 | [diff] [blame] | 32 | android:key="gesture_left_back_sensitivity" |
| 33 | android:title="@string/left_edge" |
| 34 | android:max="3" |
Raff Tsai | 00c79ae | 2019-12-20 13:29:10 +0800 | [diff] [blame] | 35 | android:selectable="true" |
| 36 | settings:textStart="@string/low_label" |
| 37 | settings:textEnd="@string/high_label"/> |
Mehdi Alizadeh | 0355596 | 2019-12-13 15:31:53 -0800 | [diff] [blame] | 38 | |
Raff Tsai | 00c79ae | 2019-12-20 13:29:10 +0800 | [diff] [blame] | 39 | <com.android.settings.widget.LabeledSeekBarPreference |
Mehdi Alizadeh | 0355596 | 2019-12-13 15:31:53 -0800 | [diff] [blame] | 40 | android:key="gesture_right_back_sensitivity" |
| 41 | android:title="@string/right_edge" |
| 42 | android:max="3" |
Raff Tsai | 00c79ae | 2019-12-20 13:29:10 +0800 | [diff] [blame] | 43 | android:selectable="true" |
| 44 | settings:textStart="@string/low_label" |
| 45 | settings:textEnd="@string/high_label"/> |
Mehdi Alizadeh | 0355596 | 2019-12-13 15:31:53 -0800 | [diff] [blame] | 46 | </PreferenceCategory> |
| 47 | |
| 48 | <com.android.settingslib.widget.FooterPreference |
| 49 | android:key="gesture_navigation_settings_footer" |
| 50 | android:title="@string/back_sensitivity_dialog_message" |
| 51 | android:selectable="false" |
| 52 | settings:searchable="false" |
| 53 | settings:allowDividerAbove="true"/> |
| 54 | </PreferenceScreen> |
| 55 | |