android13/packages/apps/TvSettings/Settings/res/xml/accessibility_compat.xml

57 lines
2.4 KiB
XML

<?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>