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 24 <PreferenceCategory 25 android:key="user_installed_services_category" 26 android:persistent="false" 27 android:title="@string/user_installed_services_category_title"/> 28 29 <PreferenceCategory 30 android:key="screen_reader_category" 31 android:persistent="false" 32 android:title="@string/screen_reader_category_title"/> 33 34 <PreferenceCategory 35 android:key="display_category" 36 android:persistent="false" 37 android:title="@string/display_category_title"> 38 39 <Preference 40 android:fragment="com.android.settings.accessibility.TextAndDisplayFragment" 41 android:key="text_and_display_preference_screen" 42 android:icon="@drawable/ic_text_and_display" 43 android:persistent="false" 44 android:title="@string/accessibility_text_and_display_title" 45 settings:searchable="true"/> 46 47 <com.android.settings.widget.PrimarySwitchPreference 48 android:fragment="com.android.settings.accessibility.ToggleReduceBrightColorsPreferenceFragment" 49 android:key="reduce_bright_colors_preference" 50 android:icon="@drawable/ic_reduce_bright_colors" 51 android:persistent="false" 52 android:title="@string/reduce_bright_colors_preference_title" 53 settings:keywords="@string/keywords_reduce_bright_colors" 54 settings:controller="com.android.settings.accessibility.ReduceBrightColorsPreferenceController"/> 55 56 <com.android.settings.display.darkmode.DarkModePreference 57 android:key="dark_ui_mode_accessibility" 58 android:icon="@drawable/ic_dark_ui" 59 android:title="@string/dark_ui_mode" 60 android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment" 61 android:widgetLayout="@null" 62 settings:widgetLayout="@null" 63 settings:controller="com.android.settings.display.DarkUIPreferenceController" 64 settings:searchable="false"/> 65 66 <Preference 67 android:fragment="com.android.settings.accessibility.MagnificationPreferenceFragment" 68 android:key="magnification_preference_screen" 69 android:icon="@drawable/ic_accessibility_magnification" 70 android:persistent="false" 71 android:title="@string/accessibility_screen_magnification_title" 72 settings:keywords="@string/keywords_magnification" 73 settings:controller="com.android.settings.accessibility.MagnificationPreferenceController"/> 74 75 </PreferenceCategory> 76 77 <PreferenceCategory 78 android:key="interaction_control_category" 79 android:persistent="false" 80 android:title="@string/interaction_control_category_title"> 81 82 <Preference 83 android:fragment="com.android.settings.accessibility.TapAssistanceFragment" 84 android:key="tap_assistance_preference_screen" 85 android:icon="@drawable/ic_tap_assistance" 86 android:persistent="false" 87 android:title="@string/accessibility_tap_assistance_title" 88 settings:searchable="true"/> 89 90 <Preference 91 android:fragment="com.android.settings.accessibility.SystemControlsFragment" 92 android:key="system_controls_preference_screen" 93 android:icon="@drawable/ic_system_controls" 94 android:title="@string/accessibility_system_controls_title" 95 settings:searchable="true"/> 96 97 <Preference 98 android:fragment="com.android.settings.accessibility.VibrationSettings" 99 android:key="vibration_preference_screen" 100 android:icon="@drawable/ic_vibration" 101 android:persistent="false" 102 android:title="@string/accessibility_vibration_settings_title" 103 settings:controller="com.android.settings.accessibility.VibrationPreferenceController"/> 104 105 </PreferenceCategory> 106 107 <PreferenceCategory 108 android:key="captions_category" 109 android:persistent="false" 110 android:title="@string/captions_category_title"> 111 112 <Preference 113 android:key="live_caption" 114 android:icon="@drawable/ic_live_caption" 115 android:persistent="false" 116 android:summary="@string/live_caption_summary" 117 android:title="@string/live_caption_title" 118 settings:keywords="@string/keywords_live_caption" 119 settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/> 120 121 <Preference 122 android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment" 123 android:key="captioning_preference_screen" 124 android:icon="@drawable/ic_captioning" 125 android:persistent="false" 126 android:title="@string/accessibility_captioning_title" 127 settings:controller="com.android.settings.accessibility.CaptioningPreferenceController"/> 128 129 <Preference 130 android:key="rtt_setting" 131 android:icon="@drawable/ic_rtt_settings" 132 android:summary="@string/summary_placeholder" 133 android:title="@string/rtt_settings_title" 134 settings:keywords="@string/keywords_rtt" 135 settings:controller="com.android.settings.accessibility.RTTSettingPreferenceController"/> 136 137 </PreferenceCategory> 138 139 <PreferenceCategory 140 android:key="audio_category" 141 android:persistent="false" 142 android:title="@string/audio_category_title"> 143 144 <Preference 145 android:key="hearing_aid_preference" 146 android:icon="@drawable/ic_hearing_aid" 147 android:persistent="false" 148 android:summary="@string/accessibility_hearingaid_not_connected_summary" 149 android:title="@string/accessibility_hearingaid_title" 150 settings:keywords="@string/keywords_hearing_aids" 151 settings:controller="com.android.settings.accessibility.AccessibilityHearingAidPreferenceController"/> 152 153 <Preference 154 android:fragment="com.android.settings.accessibility.AudioAdjustmentFragment" 155 android:key="audio_adjustment_preference_screen" 156 android:icon="@drawable/ic_audio_adjustment" 157 android:persistent="false" 158 android:title="@string/accessibility_audio_adjustment_title" 159 settings:searchable="true"/> 160 161 </PreferenceCategory> 162 163 <PreferenceCategory 164 android:persistent="false" 165 android:title="@string/general_category_title"> 166 167 <Preference 168 android:fragment="com.android.settings.accessibility.ShortcutsSettingsFragment" 169 android:key="accessibility_shortcuts_preference_screen" 170 android:persistent="false" 171 android:title="@string/accessibility_shortcuts_settings_title" 172 settings:searchable="true"/> 173 174 <Preference 175 android:fragment="com.android.settings.tts.TextToSpeechSettings" 176 android:key="tts_settings_preference" 177 android:persistent="false" 178 android:title="@string/tts_settings_title" 179 settings:controller="com.android.settings.language.TtsPreferenceController"/> 180 181 </PreferenceCategory> 182 183</PreferenceScreen> 184