blob: 0df28ecdb95c686c717bf44c0a9ff12e6d67081b [file] [log] [blame]
svetoslavganova05d0dc2009-05-14 22:26:34 -07001<?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
hjchangliaobc644342018-05-22 10:36:25 +080017<PreferenceScreen
Mill Chend37618c2019-06-17 21:19:37 +080018 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res-auto"
Edgar Wang77de4052020-02-14 17:58:38 +080020 android:key="accessibility_settings_screen"
menghanli0eae5822019-12-10 19:55:13 +080021 android:persistent="false"
22 android:title="@string/accessibility_settings">
Anna Galusza6bc81442016-01-06 21:46:12 +000023
Costin Manolache672b3c62011-07-21 10:38:15 -070024 <PreferenceCategory
Mill Chend37618c2019-06-17 21:19:37 +080025 android:key="user_installed_services_category"
menghanli0eae5822019-12-10 19:55:13 +080026 android:persistent="false"
27 android:title="@string/user_installed_services_category_title"/>
Svetoslav Ganov3d646532010-06-29 19:41:43 -070028
Costin Manolache672b3c62011-07-21 10:38:15 -070029 <PreferenceCategory
Mill Chend37618c2019-06-17 21:19:37 +080030 android:key="screen_reader_category"
menghanli0eae5822019-12-10 19:55:13 +080031 android:persistent="false"
Ben Chunge66e6412021-01-21 17:24:41 +080032 android:title="@string/screen_reader_category_title"/>
Saige McVea06136272017-03-15 00:53:41 -070033
34 <PreferenceCategory
Mill Chend37618c2019-06-17 21:19:37 +080035 android:key="display_category"
menghanli0eae5822019-12-10 19:55:13 +080036 android:persistent="false"
Mill Chend37618c2019-06-17 21:19:37 +080037 android:title="@string/display_category_title">
Alan Viverettecc0e7822013-08-06 13:53:58 -070038
Peter_Liang79a29302022-01-07 16:34:14 +080039 <Preference
Peter_Liangc8f6bcc2022-01-09 12:28:24 +080040 android:fragment="com.android.settings.accessibility.TextReadingPreferenceFragment"
Peter_Liang79a29302022-01-07 16:34:14 +080041 android:icon="@drawable/ic_adaptive_font_download"
42 android:key="text_reading_options"
43 android:persistent="false"
Peter_Liangfcce62a2022-04-22 01:53:04 +080044 android:title="@string/accessibility_text_reading_options_title"
45 settings:controller="com.android.settings.accessibility.TextReadingFragmentForA11ySettingsController"/>
Peter_Liang79a29302022-01-07 16:34:14 +080046
Fan Zhang1c118b52016-12-09 13:04:24 -080047 <Preference
Peter_Liang19631ec2022-02-14 10:42:08 +080048 android:fragment="com.android.settings.accessibility.ColorAndMotionFragment"
49 android:key="color_and_motion"
50 android:icon="@drawable/ic_color_and_motion"
menghanli0eae5822019-12-10 19:55:13 +080051 android:persistent="false"
Peter_Liang19631ec2022-02-14 10:42:08 +080052 android:title="@string/accessibility_color_and_motion_title"
Ben Chung3e2e4402020-12-23 18:44:36 +080053 settings:searchable="true"/>
Noah Wange64cc262015-12-15 09:05:30 -080054
Wilson Wu9edf7972021-08-27 10:19:56 +080055 <com.android.settingslib.PrimarySwitchPreference
jasonwshsu541e3332021-04-01 10:25:03 +080056 android:fragment="com.android.settings.accessibility.ToggleReduceBrightColorsPreferenceFragment"
57 android:key="reduce_bright_colors_preference"
jasonwshsucad54362021-04-20 11:54:25 +080058 android:icon="@drawable/ic_reduce_bright_colors"
jasonwshsu541e3332021-04-01 10:25:03 +080059 android:persistent="false"
60 android:title="@string/reduce_bright_colors_preference_title"
jasonwshsub625e8a2021-04-24 01:56:55 +080061 settings:keywords="@string/keywords_reduce_bright_colors"
62 settings:controller="com.android.settings.accessibility.ReduceBrightColorsPreferenceController"/>
jasonwshsu541e3332021-04-01 10:25:03 +080063
Ben Chung3e2e4402020-12-23 18:44:36 +080064 <Preference
Mill Chend37618c2019-06-17 21:19:37 +080065 android:fragment="com.android.settings.accessibility.MagnificationPreferenceFragment"
menghanli0eae5822019-12-10 19:55:13 +080066 android:key="magnification_preference_screen"
jasonwshsucad54362021-04-20 11:54:25 +080067 android:icon="@drawable/ic_accessibility_magnification"
menghanli0eae5822019-12-10 19:55:13 +080068 android:persistent="false"
69 android:title="@string/accessibility_screen_magnification_title"
jasonwshsub625e8a2021-04-24 01:56:55 +080070 settings:keywords="@string/keywords_magnification"
Mill Chend37618c2019-06-17 21:19:37 +080071 settings:controller="com.android.settings.accessibility.MagnificationPreferenceController"/>
jasonwshsu541e3332021-04-01 10:25:03 +080072
Saige McVea06136272017-03-15 00:53:41 -070073 </PreferenceCategory>
74
75 <PreferenceCategory
Mill Chend37618c2019-06-17 21:19:37 +080076 android:key="interaction_control_category"
menghanli0eae5822019-12-10 19:55:13 +080077 android:persistent="false"
Mill Chend37618c2019-06-17 21:19:37 +080078 android:title="@string/interaction_control_category_title">
Saige McVea06136272017-03-15 00:53:41 -070079
Kevin Chang9f834952019-07-26 14:40:07 +080080 <Preference
Ben Chungdfe19772021-01-07 16:35:02 +080081 android:fragment="com.android.settings.accessibility.TapAssistanceFragment"
82 android:key="tap_assistance_preference_screen"
jasonwshsucad54362021-04-20 11:54:25 +080083 android:icon="@drawable/ic_tap_assistance"
Ben Chungdfe19772021-01-07 16:35:02 +080084 android:persistent="false"
85 android:title="@string/accessibility_tap_assistance_title"
86 settings:searchable="true"/>
87
88 <Preference
Ben Chung29ace162021-01-12 21:39:40 +080089 android:fragment="com.android.settings.accessibility.SystemControlsFragment"
90 android:key="system_controls_preference_screen"
jasonwshsucad54362021-04-20 11:54:25 +080091 android:icon="@drawable/ic_system_controls"
Ben Chung29ace162021-01-12 21:39:40 +080092 android:title="@string/accessibility_system_controls_title"
93 settings:searchable="true"/>
94
95 <Preference
96 android:fragment="com.android.settings.accessibility.VibrationSettings"
97 android:key="vibration_preference_screen"
jasonwshsucad54362021-04-20 11:54:25 +080098 android:icon="@drawable/ic_vibration"
menghanli0eae5822019-12-10 19:55:13 +080099 android:persistent="false"
Ben Chung29ace162021-01-12 21:39:40 +0800100 android:title="@string/accessibility_vibration_settings_title"
Lais Andradefe2ed122021-12-02 17:35:46 +0000101 settings:controller="com.android.settings.accessibility.VibrationPreferenceController"
Lais Andrade141b5bb2021-11-23 18:39:06 +0000102 settings:keywords="@string/keywords_vibration"
103 android:summary="@string/accessibility_vibration_settings_summary"/>
Kevin Chang9f834952019-07-26 14:40:07 +0800104
Lauren Winston205018a2022-07-25 22:58:56 +0000105 <!-- TODO(b/241023294): UX review of where Software Cursor feature should be positioned. -->
106 <Preference
107 android:key="software_cursor_preference_screen"
108 android:icon="@drawable/ic_accessibility_software_cursor"
109 android:fragment="com.android.settings.accessibility.CursorPreferenceFragment"
110 android:title="@string/accessibility_software_cursor_title"
111 settings:searchable="true"
112 settings:keywords="@string/keywords_software_cursor"
113 android:summary="@string/accessibility_software_cursor_summary"
114 settings:controller="com.android.settings.accessibility.SoftwareCursorPreferenceController"/>
115
Saige McVea06136272017-03-15 00:53:41 -0700116 </PreferenceCategory>
117
118 <PreferenceCategory
Ben Chung478db862021-02-08 19:22:43 +0800119 android:key="captions_category"
menghanli0eae5822019-12-10 19:55:13 +0800120 android:persistent="false"
Ben Chung478db862021-02-08 19:22:43 +0800121 android:title="@string/captions_category_title">
Jun Mukai5875bb82015-11-23 10:47:49 -0800122
Anthony Tripaldi308d8332019-03-26 10:55:17 -0400123 <Preference
124 android:key="live_caption"
jasonwshsucad54362021-04-20 11:54:25 +0800125 android:icon="@drawable/ic_live_caption"
menghanli0eae5822019-12-10 19:55:13 +0800126 android:persistent="false"
Anthony Tripaldi308d8332019-03-26 10:55:17 -0400127 android:summary="@string/live_caption_summary"
menghanli0eae5822019-12-10 19:55:13 +0800128 android:title="@string/live_caption_title"
jasonwshsub625e8a2021-04-24 01:56:55 +0800129 settings:keywords="@string/keywords_live_caption"
Anthony Tripaldi308d8332019-03-26 10:55:17 -0400130 settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/>
131
Fan Zhang1c118b52016-12-09 13:04:24 -0800132 <Preference
menghanlie5712562022-08-01 16:47:12 +0800133 android:fragment="com.android.settings.accessibility.CaptioningPropertiesFragment"
Ben Chung478db862021-02-08 19:22:43 +0800134 android:key="captioning_preference_screen"
jasonwshsucad54362021-04-20 11:54:25 +0800135 android:icon="@drawable/ic_captioning"
Ben Chung478db862021-02-08 19:22:43 +0800136 android:title="@string/accessibility_captioning_title"
137 settings:controller="com.android.settings.accessibility.CaptioningPreferenceController"/>
138
139 <Preference
140 android:key="rtt_setting"
jasonwshsucad54362021-04-20 11:54:25 +0800141 android:icon="@drawable/ic_rtt_settings"
Ben Chung478db862021-02-08 19:22:43 +0800142 android:summary="@string/summary_placeholder"
143 android:title="@string/rtt_settings_title"
jasonwshsub625e8a2021-04-24 01:56:55 +0800144 settings:keywords="@string/keywords_rtt"
Ben Chung478db862021-02-08 19:22:43 +0800145 settings:controller="com.android.settings.accessibility.RTTSettingPreferenceController"/>
146
147 </PreferenceCategory>
148
149 <PreferenceCategory
150 android:key="audio_category"
151 android:persistent="false"
152 android:title="@string/audio_category_title">
153
Kaiqiang Wangf41b0ab2022-02-27 10:13:44 +0100154 <SwitchPreference
155 android:key="toggle_audio_description"
156 android:persistent="false"
157 android:icon="@drawable/ic_audio_description"
158 android:summary="@string/accessibility_audio_description_summary"
159 android:title="@string/accessibility_toggle_audio_description_preference_title"
160 settings:keywords="@string/keywords_audio_description"
161 settings:searchable="true"
162 settings:controller="com.android.settings.accessibility.AudioDescriptionPreferenceController"/>
163
Ben Chung478db862021-02-08 19:22:43 +0800164 <Preference
timhypeng53a12ee2018-06-14 13:54:05 +0800165 android:key="hearing_aid_preference"
jasonwshsucad54362021-04-20 11:54:25 +0800166 android:icon="@drawable/ic_hearing_aid"
menghanli0eae5822019-12-10 19:55:13 +0800167 android:persistent="false"
timhypeng53a12ee2018-06-14 13:54:05 +0800168 android:summary="@string/accessibility_hearingaid_not_connected_summary"
Mill Chen6f3b2222019-07-02 14:44:32 +0800169 android:title="@string/accessibility_hearingaid_title"
jasonwshsub625e8a2021-04-24 01:56:55 +0800170 settings:keywords="@string/keywords_hearing_aids"
Mill Chen6f3b2222019-07-02 14:44:32 +0800171 settings:controller="com.android.settings.accessibility.AccessibilityHearingAidPreferenceController"/>
timhypeng53a12ee2018-06-14 13:54:05 +0800172
173 <Preference
Ben Chungb6e03f22021-01-14 19:23:04 +0800174 android:fragment="com.android.settings.accessibility.AudioAdjustmentFragment"
175 android:key="audio_adjustment_preference_screen"
jasonwshsucad54362021-04-20 11:54:25 +0800176 android:icon="@drawable/ic_audio_adjustment"
Ben Chungb6e03f22021-01-14 19:23:04 +0800177 android:persistent="false"
178 android:title="@string/accessibility_audio_adjustment_title"
179 settings:searchable="true"/>
180
Svetoslav Ganov82623012011-03-02 13:00:42 -0800181 </PreferenceCategory>
Saige McVea31d855e2017-03-13 18:04:00 +0000182
menghanlida07d7a2021-02-24 17:09:10 +0800183 <PreferenceCategory
184 android:persistent="false"
185 android:title="@string/general_category_title">
Ben Chunge66e6412021-01-21 17:24:41 +0800186
187 <Preference
188 android:fragment="com.android.settings.accessibility.ShortcutsSettingsFragment"
189 android:key="accessibility_shortcuts_preference_screen"
190 android:persistent="false"
191 android:title="@string/accessibility_shortcuts_settings_title"
192 settings:searchable="true"/>
193
194 <Preference
195 android:fragment="com.android.settings.tts.TextToSpeechSettings"
196 android:key="tts_settings_preference"
197 android:persistent="false"
198 android:title="@string/tts_settings_title"
199 settings:controller="com.android.settings.language.TtsPreferenceController"/>
200
201 </PreferenceCategory>
202
svetoslavganova05d0dc2009-05-14 22:26:34 -0700203</PreferenceScreen>