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