summaryrefslogtreecommitdiffstats
path: root/res/xml/accessibility_settings.xml
blob: cd9d471fe5cd6c1fc4ef4444057a83061854ddd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
        android:title="@string/accessibility_settings">

    <PreferenceCategory
            android:key="services_category"
            android:title="@string/accessibility_services_title">
    </PreferenceCategory>

    <PreferenceCategory
            android:key="system_category"
            android:title="@string/accessibility_system_title">

        <PreferenceScreen
            android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment"
            android:key="captioning_preference_screen"
            android:title="@string/accessibility_captioning_title" />

        <PreferenceScreen
            android:fragment="com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragment"
            android:key="screen_magnification_preference_screen"
            android:title="@string/accessibility_screen_magnification_title"/>

        <SwitchPreference
                android:key="toggle_large_text_preference"
                android:title="@string/accessibility_toggle_large_text_preference_title"
                android:persistent="false"/>

        <SwitchPreference
                android:key="toggle_high_text_contrast_preference"
                android:title="@string/accessibility_toggle_high_text_contrast_preference_title"
                android:summary="@string/experimental_preference"
                android:persistent="false"/>

        <SwitchPreference
                android:key="toggle_power_button_ends_call_preference"
                android:title="@string/accessibility_power_button_ends_call_prerefence_title"
                android:persistent="false"/>

        <SwitchPreference
                android:key="toggle_lock_screen_rotation_preference"
                android:title="@string/accelerometer_title"
                android:persistent="false"/>

        <SwitchPreference
                android:key="toggle_speak_password_preference"
                android:title="@string/accessibility_toggle_speak_password_preference_title"
                android:persistent="false"/>

        <PreferenceScreen
                android:fragment="com.android.settings.accessibility.ToggleGlobalGesturePreferenceFragment"
                android:key="enable_global_gesture_preference_screen"
                android:title="@string/accessibility_global_gesture_preference_title"/>

        <PreferenceScreen android:key="tts_settings_preference"
                android:fragment="com.android.settings.tts.TextToSpeechSettings"
                android:title="@string/tts_settings_title"/>

        <ListPreference android:key="select_long_press_timeout_preference"
                android:title="@string/accessibility_long_press_timeout_preference_title"
                android:entries="@array/long_press_timeout_selector_titles"
                android:entryValues="@array/long_press_timeout_selector_values"
                android:persistent="false"/>

    </PreferenceCategory>

    <PreferenceCategory
        android:key="display_category"
        android:title="@string/accessibility_display_title" >
        <SwitchPreference
            android:key="toggle_inversion_preference"
            android:title="@string/accessibility_display_inversion_preference_title"
            android:summary="@string/accessibility_display_inversion_preference_subtitle"
            android:persistent="false" />
        <PreferenceScreen
            android:fragment="com.android.settings.accessibility.ToggleDaltonizerPreferenceFragment"
            android:key="daltonizer_preference_screen"
            android:title="@string/accessibility_display_daltonizer_preference_title" />
    </PreferenceCategory>

</PreferenceScreen>