1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto"> 20 21 <Preference 22 android:key="@string/accessibility_shortcut_description_pref" 23 android:persistent="false" 24 android:selectable="false" 25 settings:allowDividerAbove="false" 26 settings:allowDividerBelow="false"/> 27 <!-- LINT.IfChange(shortcut_type_ui_order) --> 28 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 29 android:key="@string/accessibility_shortcut_quick_settings_pref" 30 android:persistent="false" 31 android:selectable="true" 32 settings:allowDividerAbove="false" 33 settings:allowDividerBelow="false" 34 settings:controller="com.android.settings.accessibility.shortcuts.QuickSettingsShortcutOptionController" /> 35 36 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 37 android:key="@string/accessibility_shortcut_fab_pref" 38 android:persistent="false" 39 android:selectable="true" 40 settings:allowDividerAbove="false" 41 settings:allowDividerBelow="false" 42 settings:controller="com.android.settings.accessibility.shortcuts.FloatingButtonShortcutOptionController" /> 43 44 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 45 android:key="@string/accessibility_shortcut_gesture_pref" 46 android:persistent="false" 47 android:selectable="true" 48 settings:allowDividerAbove="false" 49 settings:allowDividerBelow="false" 50 settings:controller="com.android.settings.accessibility.shortcuts.GestureShortcutOptionController" /> 51 52 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 53 android:key="@string/accessibility_shortcut_nav_button_pref" 54 android:persistent="false" 55 android:selectable="true" 56 settings:allowDividerAbove="false" 57 settings:allowDividerBelow="false" 58 settings:controller="com.android.settings.accessibility.shortcuts.NavButtonShortcutOptionController" /> 59 60 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 61 android:key="@string/accessibility_shortcut_volume_keys_pref" 62 android:persistent="false" 63 android:selectable="true" 64 settings:allowDividerAbove="false" 65 settings:allowDividerBelow="false" 66 settings:controller="com.android.settings.accessibility.shortcuts.VolumeKeysShortcutOptionController" /> 67 68 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 69 android:key="@string/accessibility_shortcut_two_finger_double_tap_pref" 70 android:persistent="false" 71 android:selectable="true" 72 settings:allowDividerAbove="false" 73 settings:allowDividerBelow="false" 74 settings:controller="com.android.settings.accessibility.shortcuts.TwoFingerDoubleTapShortcutOptionController" /> 75 76 <Preference 77 android:icon="@drawable/ic_keyboard_arrow_down" 78 android:key="@string/accessibility_shortcuts_advanced_collapsed" 79 android:persistent="false" 80 android:selectable="true" 81 android:title="@string/accessibility_shortcut_edit_dialog_title_advance" 82 settings:allowDividerAbove="false" 83 settings:allowDividerBelow="false" 84 settings:controller="com.android.settings.accessibility.shortcuts.AdvancedShortcutsPreferenceController" /> 85 86 <com.android.settings.accessibility.shortcuts.ShortcutOptionPreference 87 android:key="@string/accessibility_shortcut_triple_tap_pref" 88 android:persistent="false" 89 android:selectable="true" 90 settings:allowDividerAbove="false" 91 settings:allowDividerBelow="false" 92 settings:controller="com.android.settings.accessibility.shortcuts.TripleTapShortcutOptionController" /> 93 <!-- 94 LINT.ThenChange( 95 /src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java:shortcut_type_ui_order, 96 /src/com/android/settings/accessibility/ToggleFeaturePreferenceFragment.java:shortcut_type_ui_order, 97 /src/com/android/settings/accessibility/AccessibilityShortcutPreferenceFragment.java:shortcut_type_ui_order 98 ) 99 --> 100</PreferenceScreen>