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