summaryrefslogtreecommitdiff
path: root/Settings/res/xml/accessibility_compat.xml
blob: 4e0c6a33043e9c5a98356172d39660a22bbfe47f (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
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 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"
    android:title="@string/system_accessibility">

    <com.android.tv.settings.compat.TsPreference
        android:key="captions"
        android:title="@string/accessibility_captions">
        <intent
            android:action="android.intent.action.MAIN"
            android:targetClass="com.android.tv.settings.system.CaptionSetupActivity"
            android:targetPackage="com.android.tv.settings"/>
    </com.android.tv.settings.compat.TsPreference>

    <com.android.tv.settings.compat.TsSwitchWithSoundPreference
        android:key="toggle_high_text_contrast"
        android:persistent="true"
        android:title="@string/accessibility_toggle_high_text_contrast_preference_title"
        android:summary="@string/experimental_preference"/>

    <com.android.tv.settings.compat.TsPreference
        android:key="text_to_speech"
        android:title="@string/system_accessibility_tts_output"
        android:fragment="com.android.tv.settings.system.TextToSpeechFragment"/>

    <com.android.tv.settings.compat.TsPreference
        android:key="accessibility_shortcut"
        android:title="@string/accessibility_shortcut"
        android:fragment="com.android.tv.settings.accessibility.AccessibilityShortcutFragmentCompat"/>

    <com.android.tv.settings.compat.TsSwitchWithSoundPreference
        android:key="toggle_audio_description"
        android:persistent="true"
        android:title="@string/accessibility_toggle_audio_description_preference_title"
        android:summary="@string/accessibility_audio_description_summary"/>

    <com.android.tv.settings.compat.TsPreferenceCategory
        android:key="system_accessibility_services"
        android:title="@string/system_services"/>

</PreferenceScreen>