Home | History | Annotate | Download | only in xml
      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 xmlns:android="http://schemas.android.com/apk/res/android"
     18         android:key="accessibility_settings_screen"
     19         android:title="@string/accessibility_settings"
     20         android:persistent="true">
     21 
     22     <Preference
     23             android:key="accessibility_shortcut_preference"
     24             android:fragment="com.android.settings.accessibility.AccessibilityShortcutPreferenceFragment"
     25             android:title="@string/accessibility_global_gesture_preference_title"/>
     26 
     27     <PreferenceCategory
     28             android:key="user_installed_services_category"
     29             android:title="@string/user_installed_services_category_title">
     30     </PreferenceCategory>
     31 
     32     <PreferenceCategory
     33             android:key="screen_reader_category"
     34             android:title="@string/screen_reader_category_title">
     35 
     36         <Preference
     37                 android:key="tts_settings_preference"
     38                 android:fragment="com.android.settings.tts.TextToSpeechSettings"
     39                 android:title="@string/tts_settings_title"/>
     40     </PreferenceCategory>
     41 
     42     <PreferenceCategory
     43             android:key="display_category"
     44             android:title="@string/display_category_title">
     45 
     46         <Preference
     47             android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
     48             android:key="font_size_preference_screen"
     49             android:title="@string/title_font_size" />
     50 
     51         <com.android.settings.display.ScreenZoomPreference
     52             android:key="accessibility_settings_screen_zoom"
     53             android:fragment="com.android.settings.display.ScreenZoomSettings"
     54             android:title="@string/screen_zoom_title" />
     55 
     56         <Preference
     57             android:fragment="com.android.settings.accessibility.MagnificationPreferenceFragment"
     58             android:key="magnification_preference_screen"
     59             android:title="@string/accessibility_screen_magnification_title"
     60             android:icon="@mipmap/ic_accessibility_magnification" />
     61 
     62         <SwitchPreference
     63                 android:key="toggle_large_pointer_icon"
     64                 android:title="@string/accessibility_toggle_large_pointer_icon_title" />
     65 
     66         <SwitchPreference
     67             android:key="toggle_disable_animations"
     68             android:title="@string/accessibility_disable_animations" />
     69     </PreferenceCategory>
     70 
     71     <PreferenceCategory
     72             android:key="interaction_control_category"
     73             android:title="@string/interaction_control_category_title">
     74 
     75         <Preference
     76                 android:fragment="com.android.settings.accessibility.ToggleAutoclickPreferenceFragment"
     77                 android:key="autoclick_preference_screen"
     78                 android:title="@string/accessibility_autoclick_preference_title"/>
     79 
     80         <SwitchPreference
     81                 android:key="toggle_power_button_ends_call_preference"
     82                 android:title="@string/accessibility_power_button_ends_call_prerefence_title"
     83                 android:persistent="false"/>
     84 
     85         <SwitchPreference
     86                 android:key="toggle_lock_screen_rotation_preference"
     87                 android:title="@string/accelerometer_title"
     88                 android:persistent="false"/>
     89 
     90         <ListPreference
     91                 android:key="select_long_press_timeout_preference"
     92                 android:title="@string/accessibility_long_press_timeout_preference_title"
     93                 android:entries="@array/long_press_timeout_selector_titles"
     94                 android:entryValues="@array/long_press_timeout_selector_values"
     95                 android:persistent="false"/>
     96 
     97         <Preference
     98             android:fragment="com.android.settings.accessibility.VibrationSettings"
     99             android:key="vibration_preference_screen"
    100             android:title="@string/accessibility_vibration_settings_title" />
    101 
    102     </PreferenceCategory>
    103 
    104     <PreferenceCategory
    105             android:key="audio_and_captions_category"
    106             android:title="@string/audio_and_captions_category_title">
    107 
    108         <SwitchPreference
    109                 android:key="toggle_master_mono"
    110                 android:title="@string/accessibility_toggle_master_mono_title"
    111                 android:summary="@string/accessibility_toggle_master_mono_summary"
    112                 android:persistent="false"/>
    113 
    114         <Preference
    115                 android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment"
    116                 android:key="captioning_preference_screen"
    117                 android:title="@string/accessibility_captioning_title" />
    118     </PreferenceCategory>
    119 
    120     <PreferenceCategory
    121             android:key="experimental_category"
    122             android:title="@string/experimental_category_title">
    123 
    124         <SwitchPreference
    125                 android:key="toggle_high_text_contrast_preference"
    126                 android:title="@string/accessibility_toggle_high_text_contrast_preference_title" />
    127 
    128         <Preference
    129                 android:fragment="com.android.settings.accessibility.ToggleDaltonizerPreferenceFragment"
    130                 android:key="daltonizer_preference_screen"
    131                 android:title="@string/accessibility_display_daltonizer_preference_title"
    132                 android:icon="@drawable/ic_daltonizer"/>
    133 
    134         <SwitchPreference
    135                 android:key="toggle_inversion_preference"
    136                 android:title="@string/accessibility_display_inversion_preference_title"
    137                 android:summary="@string/accessibility_display_inversion_preference_subtitle"
    138                 android:persistent="false"
    139                 android:icon="@drawable/ic_color_inversion"/>
    140     </PreferenceCategory>
    141 </PreferenceScreen>
    142