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:title="@string/accessibility_settings" 22 android:persistent="true"> 23 24 <Preference 25 android:key="accessibility_shortcut_preference" 26 android:fragment="com.android.settings.accessibility.AccessibilityShortcutPreferenceFragment" 27 android:title="@string/accessibility_global_gesture_preference_title"/> 28 29 <PreferenceCategory 30 android:key="user_installed_services_category" 31 android:title="@string/user_installed_services_category_title"> 32 </PreferenceCategory> 33 34 <PreferenceCategory 35 android:key="screen_reader_category" 36 android:title="@string/screen_reader_category_title"> 37 38 <Preference 39 android:key="tts_settings_preference" 40 android:fragment="com.android.settings.tts.TextToSpeechSettings" 41 android:title="@string/tts_settings_title" 42 settings:searchable="false"/> 43 </PreferenceCategory> 44 45 <PreferenceCategory 46 android:key="display_category" 47 android:title="@string/display_category_title"> 48 49 <Preference 50 android:fragment="com.android.settings.display.ToggleFontSizePreferenceFragment" 51 android:key="font_size_preference_screen" 52 android:title="@string/title_font_size" 53 settings:searchable="false"/> 54 55 <com.android.settings.display.ScreenZoomPreference 56 android:key="accessibility_settings_screen_zoom" 57 android:fragment="com.android.settings.display.ScreenZoomSettings" 58 android:title="@string/screen_zoom_title" 59 settings:searchable="false"/> 60 61 <SwitchPreference 62 android:key="dark_ui_mode_accessibility" 63 android:title="@string/dark_ui_mode" 64 settings:searchable="false"/> 65 66 <Preference 67 android:fragment="com.android.settings.accessibility.MagnificationPreferenceFragment" 68 android:key="magnification_preference_screen" 69 android:title="@string/accessibility_screen_magnification_title" 70 android:icon="@drawable/ic_accessibility_magnification" /> 71 72 <SwitchPreference 73 android:key="toggle_large_pointer_icon" 74 android:title="@string/accessibility_toggle_large_pointer_icon_title" /> 75 76 <SwitchPreference 77 android:key="toggle_disable_animations" 78 android:title="@string/accessibility_disable_animations" /> 79 80 </PreferenceCategory> 81 82 <PreferenceCategory 83 android:key="interaction_control_category" 84 android:title="@string/interaction_control_category_title"> 85 86 <Preference 87 android:fragment="com.android.settings.accessibility.ToggleAutoclickPreferenceFragment" 88 android:key="autoclick_preference" 89 android:title="@string/accessibility_autoclick_preference_title" 90 settings:searchable="false"/> 91 92 <SwitchPreference 93 android:key="toggle_power_button_ends_call_preference" 94 android:title="@string/accessibility_power_button_ends_call_prerefence_title" 95 android:persistent="false"/> 96 97 <SwitchPreference 98 android:key="toggle_lock_screen_rotation_preference" 99 android:title="@string/accelerometer_title" 100 android:persistent="false"/> 101 102 <ListPreference 103 android:key="select_long_press_timeout_preference" 104 android:title="@string/accessibility_long_press_timeout_preference_title" 105 android:entries="@array/long_press_timeout_selector_titles" 106 android:entryValues="@array/long_press_timeout_selector_values" 107 android:persistent="false"/> 108 109 <Preference 110 android:fragment="com.android.settings.accessibility.AccessibilityControlTimeoutPreferenceFragment" 111 android:key="accessibility_control_timeout_preference_fragment" 112 android:title="@string/accessibility_setting_item_control_timeout_title" 113 android:persistent="false" /> 114 115 <Preference 116 android:fragment="com.android.settings.accessibility.VibrationSettings" 117 android:key="vibration_preference_screen" 118 android:title="@string/accessibility_vibration_settings_title" /> 119 120 </PreferenceCategory> 121 122 <PreferenceCategory 123 android:key="audio_and_captions_category" 124 android:title="@string/audio_and_captions_category_title"> 125 126 <Preference 127 android:key="live_caption" 128 android:title="@string/live_caption_title" 129 android:summary="@string/live_caption_summary" 130 settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/> 131 132 <SwitchPreference 133 android:key="toggle_master_mono" 134 android:title="@string/accessibility_toggle_master_mono_title" 135 android:summary="@string/accessibility_toggle_master_mono_summary" 136 android:persistent="false"/> 137 138 <com.android.settings.accessibility.BalanceSeekBarPreference 139 android:key="seekbar_master_balance" 140 android:title="@string/accessibility_toggle_master_balance_title" /> 141 142 <Preference 143 android:key="hearing_aid_preference" 144 android:summary="@string/accessibility_hearingaid_not_connected_summary" 145 android:title="@string/accessibility_hearingaid_title"/> 146 147 <Preference 148 android:key="rtt_setting" 149 android:summary="@string/summary_placeholder" 150 android:title="@string/rtt_settings_title" 151 settings:controller="com.android.settings.accessibility.RTTSettingPreferenceController"/> 152 153 <Preference 154 android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment" 155 android:key="captioning_preference_screen" 156 android:title="@string/accessibility_captioning_title" /> 157 </PreferenceCategory> 158 159 <PreferenceCategory 160 android:key="experimental_category" 161 android:title="@string/experimental_category_title"> 162 163 <SwitchPreference 164 android:key="toggle_high_text_contrast_preference" 165 android:title="@string/accessibility_toggle_high_text_contrast_preference_title" /> 166 167 <Preference 168 android:fragment="com.android.settings.accessibility.ToggleDaltonizerPreferenceFragment" 169 android:key="daltonizer_preference" 170 android:title="@string/accessibility_display_daltonizer_preference_title" 171 android:icon="@drawable/ic_daltonizer" 172 settings:searchable="false"/> 173 174 <SwitchPreference 175 android:key="toggle_inversion_preference" 176 android:title="@string/accessibility_display_inversion_preference_title" 177 android:summary="@string/accessibility_display_inversion_preference_subtitle" 178 android:persistent="false" 179 android:icon="@drawable/ic_color_inversion" 180 settings:controller="com.android.settings.accessibility.ColorInversionPreferenceController"/> 181 </PreferenceCategory> 182</PreferenceScreen> 183