• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:title="@string/accessibility_button_title">
21
22    <com.android.settingslib.widget.LayoutPreference
23        android:key="caption_preview"
24        android:title="@string/summary_placeholder"
25        android:layout="@layout/accessibility_button_preview"
26        android:selectable="false"
27        settings:searchable="false"
28        android:persistent="false"
29        settings:controller="com.android.settings.accessibility.AccessibilityButtonPreviewPreferenceController"/>
30
31    <ListPreference
32        android:entries="@array/accessibility_button_location_selector_titles"
33        android:entryValues="@array/accessibility_button_location_selector_values"
34        android:key="accessibility_button_location"
35        android:title="@string/accessibility_button_location_title"
36        android:summary="%s"
37        android:persistent="false"
38        settings:controller="com.android.settings.accessibility.AccessibilityButtonLocationPreferenceController"/>
39
40    <ListPreference
41        android:entries="@array/accessibility_button_size_selector_titles"
42        android:entryValues="@array/accessibility_button_size_selector_values"
43        android:key="accessibility_button_size"
44        android:title="@string/accessibility_button_size_title"
45        android:summary="%s"
46        android:persistent="false"
47        settings:controller="com.android.settings.accessibility.FloatingMenuSizePreferenceController"/>
48
49    <SwitchPreference
50        android:key="accessibility_button_fade"
51        android:title="@string/accessibility_button_fade_title"
52        android:summary="@string/accessibility_button_fade_summary"
53        android:persistent="false"
54        settings:controller="com.android.settings.accessibility.FloatingMenuFadePreferenceController"/>
55
56    <com.android.settings.widget.SeekBarPreference
57        android:key="accessibility_button_opacity"
58        android:title="@string/accessibility_button_opacity_title"
59        android:persistent="false"
60        settings:controller="com.android.settings.accessibility.FloatingMenuTransparencyPreferenceController"/>
61
62    <com.android.settings.accessibility.AccessibilityFooterPreference
63        android:key="accessibility_button_footer"
64        android:title="@string/accessibility_button_description"
65        android:persistent="false"
66        android:selectable="false"
67        settings:searchable="false"
68        settings:controller="com.android.settings.accessibility.AccessibilityButtonFooterPreferenceController"/>
69</PreferenceScreen>
70