1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:settings="http://schemas.android.com/apk/res-auto">
19
20    <com.android.settingslib.widget.TopIntroPreference
21        android:key="accessibility_button_intro"
22        android:persistent="false"
23        android:title="@string/accessibility_button_intro_text" />
24
25    <com.android.settingslib.widget.IllustrationPreference
26        android:key="accessibility_button_preview"
27        android:persistent="false"
28        android:selectable="false"
29        settings:controller="com.android.settings.accessibility.AccessibilityButtonPreviewPreferenceController"
30        settings:searchable="false" />
31
32    <ListPreference
33        android:entries="@array/accessibility_button_location_selector_titles"
34        android:entryValues="@array/accessibility_button_location_selector_values"
35        android:key="accessibility_button_location"
36        android:persistent="false"
37        android:summary="%s"
38        android:title="@string/accessibility_button_location_title"
39        settings:controller="com.android.settings.accessibility.AccessibilityButtonLocationPreferenceController" />
40
41    <ListPreference
42        android:entries="@array/accessibility_button_gesture_selector_titles"
43        android:entryValues="@array/accessibility_button_gesture_selector_values"
44        android:key="accessibility_button_or_gesture"
45        android:persistent="false"
46        android:summary="%s"
47        android:title="@string/accessibility_button_or_gesture_title"
48        settings:controller="com.android.settings.accessibility.AccessibilityButtonGesturePreferenceController" />
49
50    <ListPreference
51        android:entries="@array/accessibility_button_size_selector_titles"
52        android:entryValues="@array/accessibility_button_size_selector_values"
53        android:key="accessibility_button_size"
54        android:persistent="false"
55        android:summary="%s"
56        android:title="@string/accessibility_button_size_title"
57        settings:controller="com.android.settings.accessibility.FloatingMenuSizePreferenceController" />
58
59    <SwitchPreferenceCompat
60        android:key="accessibility_button_fade"
61        android:persistent="false"
62        android:summary="@string/accessibility_button_fade_summary"
63        android:title="@string/accessibility_button_fade_title"
64        settings:controller="com.android.settings.accessibility.FloatingMenuFadePreferenceController" />
65
66    <com.android.settings.widget.SeekBarPreference
67        android:key="accessibility_button_opacity"
68        android:persistent="false"
69        android:title="@string/accessibility_button_opacity_title"
70        settings:controller="com.android.settings.accessibility.FloatingMenuTransparencyPreferenceController" />
71
72    <com.android.settings.accessibility.AccessibilityFooterPreference
73        android:key="accessibility_button_footer"
74        android:persistent="false"
75        android:selectable="false"
76        settings:controller="com.android.settings.accessibility.AccessibilityButtonFooterPreferenceController"
77        settings:searchable="false" />
78</PreferenceScreen>
79