1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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:key="accessibility_settings_screen"
21    android:persistent="false"
22    android:title="@string/accessibility_settings"
23    settings:keywords="@string/keywords_accessibility">
24
25    <PreferenceCategory
26        android:key="user_installed_services_category"
27        android:persistent="false"
28        android:title="@string/user_installed_services_category_title"/>
29
30    <PreferenceCategory
31        android:key="screen_reader_category"
32        android:persistent="false"
33        android:title="@string/screen_reader_category_title"/>
34
35    <PreferenceCategory
36        android:key="display_category"
37        android:persistent="false"
38        android:title="@string/display_category_title">
39
40        <Preference
41            android:fragment="com.android.settings.accessibility.TextReadingPreferenceFragment"
42            android:icon="@drawable/ic_adaptive_font_download"
43            android:key="text_reading_options"
44            android:persistent="false"
45            android:title="@string/accessibility_text_reading_options_title"
46            settings:controller="com.android.settings.accessibility.TextReadingFragmentForA11ySettingsController"/>
47
48        <Preference
49            android:fragment="com.android.settings.accessibility.ColorAndMotionFragment"
50            android:key="color_and_motion"
51            android:icon="@drawable/ic_color_and_motion"
52            android:persistent="false"
53            android:title="@string/accessibility_color_and_motion_title"
54            settings:searchable="true"/>
55
56        <com.android.settingslib.PrimarySwitchPreference
57            android:fragment="com.android.settings.accessibility.ToggleReduceBrightColorsPreferenceFragment"
58            android:key="reduce_bright_colors_preference"
59            android:icon="@drawable/ic_reduce_bright_colors"
60            android:persistent="false"
61            android:title="@string/reduce_bright_colors_preference_title"
62            settings:keywords="@string/keywords_reduce_bright_colors"
63            settings:controller="com.android.settings.accessibility.ReduceBrightColorsPreferenceController"/>
64
65        <SwitchPreferenceCompat
66            android:key="even_dimmer_activated"
67            android:title="@string/even_dimmer_display_title"
68            android:summary="@string/even_dimmer_display_summary"
69            android:icon="@drawable/ic_reduce_bright_colors"
70            settings:controller="com.android.settings.display.EvenDimmerPreferenceController"/>
71
72        <Preference
73            android:fragment="com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragment"
74            android:key="magnification_preference_screen"
75            android:icon="@drawable/ic_accessibility_magnification"
76            android:persistent="false"
77            android:title="@string/accessibility_screen_magnification_title"
78            settings:keywords="@string/keywords_magnification"
79            settings:controller="com.android.settings.accessibility.MagnificationPreferenceController"/>
80
81    </PreferenceCategory>
82
83    <PreferenceCategory
84        android:key="interaction_control_category"
85        android:persistent="false"
86        android:title="@string/interaction_control_category_title">
87
88        <Preference
89            android:fragment="com.android.settings.accessibility.TapAssistanceFragment"
90            android:key="tap_assistance_preference_screen"
91            android:icon="@drawable/ic_tap_assistance"
92            android:persistent="false"
93            android:title="@string/accessibility_tap_assistance_title"
94            settings:searchable="true"/>
95
96        <Preference
97            android:fragment="com.android.settings.accessibility.SystemControlsFragment"
98            android:key="system_controls_preference_screen"
99            android:icon="@drawable/ic_system_controls"
100            android:title="@string/accessibility_system_controls_title"
101            settings:searchable="true"/>
102
103        <Preference
104            android:fragment="com.android.settings.accessibility.VibrationSettings"
105            android:key="vibration_preference_screen"
106            android:icon="@drawable/ic_vibration"
107            android:persistent="false"
108            android:title="@string/accessibility_vibration_settings_title"
109            settings:controller="com.android.settings.accessibility.VibrationPreferenceController"
110            settings:keywords="@string/keywords_vibration"
111            android:summary="@string/accessibility_vibration_settings_summary"/>
112
113    </PreferenceCategory>
114
115    <PreferenceCategory
116        android:key="physical_keyboard_options_category"
117        android:persistent="false"
118        android:title="@string/keyboard_category_title">
119
120        <SwitchPreferenceCompat
121            android:icon="@drawable/ic_sticky_keys"
122            android:key="toggle_keyboard_sticky_keys"
123            android:persistent="false"
124            android:summary="@string/sticky_keys_summary"
125            android:title="@string/sticky_keys"
126            settings:controller="com.android.settings.accessibility.KeyboardStickyKeyPreferenceController"
127            settings:searchable="true" />
128
129        <SwitchPreferenceCompat
130            android:icon="@drawable/ic_bounce_keys"
131            android:key="toggle_keyboard_bounce_keys"
132            android:persistent="false"
133            android:title="@string/bounce_keys"
134            settings:controller="com.android.settings.accessibility.KeyboardBounceKeyPreferenceController"
135            settings:searchable="true" />
136
137        <SwitchPreferenceCompat
138            android:icon="@drawable/ic_slow_keys"
139            android:key="toggle_keyboard_slow_keys"
140            android:persistent="false"
141            android:title="@string/slow_keys"
142            settings:controller="com.android.settings.accessibility.KeyboardSlowKeyPreferenceController"
143            settings:searchable="true" />
144    </PreferenceCategory>
145
146    <PreferenceCategory
147        android:key="captions_category"
148        android:persistent="false"
149        android:title="@string/captions_category_title">
150
151        <Preference
152            android:key="live_caption"
153            android:icon="@drawable/ic_live_caption"
154            android:persistent="false"
155            android:summary="@string/live_caption_summary"
156            android:title="@string/live_caption_title"
157            settings:keywords="@string/keywords_live_caption"
158            settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/>
159
160        <Preference
161            android:fragment="com.android.settings.accessibility.CaptioningPropertiesFragment"
162            android:key="captioning_preference_screen"
163            android:icon="@drawable/ic_captioning"
164            android:title="@string/accessibility_captioning_title"
165            settings:controller="com.android.settings.accessibility.CaptioningPreferenceController"/>
166
167        <Preference
168            android:key="rtt_setting"
169            android:icon="@drawable/ic_rtt_settings"
170            android:summary="@string/summary_placeholder"
171            android:title="@string/rtt_settings_title"
172            settings:keywords="@string/keywords_rtt"
173            settings:controller="com.android.settings.accessibility.RTTSettingPreferenceController"/>
174
175    </PreferenceCategory>
176
177    <PreferenceCategory
178        android:key="audio_category"
179        android:persistent="false"
180        android:title="@string/audio_category_title">
181
182        <SwitchPreferenceCompat
183            android:key="toggle_audio_description"
184            android:persistent="false"
185            android:icon="@drawable/ic_audio_description"
186            android:summary="@string/accessibility_audio_description_summary"
187            android:title="@string/accessibility_toggle_audio_description_preference_title"
188            settings:keywords="@string/keywords_audio_description"
189            settings:searchable="true"
190            settings:controller="com.android.settings.accessibility.AudioDescriptionPreferenceController"/>
191
192        <Preference
193            android:fragment="com.android.settings.accessibility.FlashNotificationsPreferenceFragment"
194            android:key="flash_notifications_preference_accessibility"
195            android:icon="@drawable/ic_flash_notification"
196            android:persistent="false"
197            android:title="@string/flash_notifications_title"
198            settings:keywords="@string/flash_notifications_keywords"
199            settings:searchable="true"
200            settings:controller="com.android.settings.accessibility.FlashNotificationsPreferenceController" />
201
202        <Preference
203            android:key="hearing_aid_preference"
204            android:icon="@drawable/ic_hearing_aid"
205            android:persistent="false"
206            android:summary="@string/accessibility_hearingaid_not_connected_summary"
207            android:title="@string/accessibility_hearingaid_title"
208            settings:keywords="@string/keywords_hearing_aids"
209            settings:controller="com.android.settings.accessibility.AccessibilityHearingAidPreferenceController"/>
210
211        <Preference
212            android:fragment="com.android.settings.accessibility.AudioAdjustmentFragment"
213            android:key="audio_adjustment_preference_screen"
214            android:icon="@drawable/ic_audio_adjustment"
215            android:persistent="false"
216            android:title="@string/accessibility_audio_adjustment_title"
217            settings:searchable="true"/>
218
219    </PreferenceCategory>
220
221    <PreferenceCategory
222        android:key="speech_category"
223        android:persistent="false"
224        android:title="@string/speech_category_title"/>
225
226    <PreferenceCategory
227        android:persistent="false"
228        android:title="@string/general_category_title">
229
230        <Preference
231            android:fragment="com.android.settings.accessibility.ShortcutsSettingsFragment"
232            android:key="accessibility_shortcuts_preference_screen"
233            android:persistent="false"
234            android:title="@string/accessibility_shortcuts_settings_title"
235            settings:searchable="true"/>
236
237        <Preference
238            android:fragment="com.android.settings.tts.TextToSpeechSettings"
239            android:key="tts_settings_preference"
240            android:persistent="false"
241            android:title="@string/tts_settings_title"
242            settings:controller="com.android.settings.language.TtsPreferenceController"/>
243
244    </PreferenceCategory>
245
246</PreferenceScreen>
247