| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2017 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:custom="http://schemas.android.com/apk/res-auto" |
| android:key="accessibility_preference_screen" |
| android:title="@string/accessibility_category_title"> |
| |
| <PreferenceCategory |
| android:key="accessibility_screen_readers_category" |
| android:title="@string/accessibility_screen_readers_category_title"> |
| <Preference |
| android:key="text_to_speech" |
| android:title="@string/system_accessibility_tts_output" |
| android:fragment="com.android.tv.settings.system.TextToSpeechFragment" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="accessibility_display_category" |
| android:title="@string/accessibility_display_category_title"> |
| <Preference |
| android:key="font_scale" |
| android:title="@string/font_scale_settings_title" |
| android:fragment="com.android.tv.settings.device.displaysound.FontScalePreferenceFragment" /> |
| |
| <com.android.tv.settings.widget.SwitchWithSoundPreference |
| android:key="toggle_bold_text" |
| android:persistent="true" |
| android:title="@string/accessibility_toggle_bold_text_preference_title" /> |
| |
| <Preference |
| android:key="color_correction_only_twopanel" |
| android:title="@string/accessibility_color_correction" |
| android:fragment="com.android.tv.settings.accessibility.AccessibilityColorCorrectionPreferenceFragment" |
| custom:isPreferenceVisible="false" /> |
| |
| <Preference |
| android:key="color_correction_only_classic" |
| android:title="@string/accessibility_color_correction" |
| custom:isPreferenceVisible="false"> |
| <intent |
| android:action="android.intent.action.MAIN" |
| android:targetClass="com.android.tv.settings.accessibility.AccessibilityColorCorrectionActivity" |
| android:targetPackage="com.android.tv.settings" /> |
| </Preference> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="accessibility_interaction_controls_category" |
| android:title="@string/accessibility_interaction_controls_category_title"> |
| <Preference |
| android:key="accessibility_shortcut" |
| android:title="@string/accessibility_shortcut" |
| android:fragment="com.android.tv.settings.accessibility.AccessibilityShortcutFragment" /> |
| <Preference |
| android:key="accessibility_timeout" |
| android:title="@string/accessibility_timeout_detailed" |
| android:fragment="com.android.tv.settings.accessibility.AccessibilityTimeoutFragment" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="accessibility_audio_and_onscreen_text_category" |
| android:title="@string/accessibility_audio_and_onscreen_text_category_title"> |
| <com.android.tv.settings.widget.SwitchWithSoundPreference |
| android:key="toggle_audio_description" |
| android:persistent="true" |
| android:title="@string/accessibility_toggle_audio_description_preference_title" |
| android:summary="@string/accessibility_audio_description_summary" /> |
| |
| <Preference |
| 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" /> |
| </Preference> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="accessibility_experimental_category" |
| android:title="@string/accessibility_experimental_category_title"> |
| <com.android.tv.settings.widget.SwitchWithSoundPreference |
| android:key="toggle_high_text_contrast" |
| android:persistent="true" |
| android:title="@string/accessibility_toggle_high_text_contrast_preference_title" |
| android:summary="@string/experimental_preference" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="accessibility_services_category" |
| android:title="@string/accessibility_services_category_title" |
| custom:isPreferenceVisible="false" /> |
| </PreferenceScreen> |