Accessibility settings audio and on-screen text category restructure, add audio adjustment fragment for related accessibility services. Bug: 174829936 Test: atest AudioAdjustmentFragmentTest, atest AccessibilitySettingsTest Change-Id: I8b4397d042a0e7ce1242f95319a6a25cc45f38bb
148 lines
6.2 KiB
XML
148 lines
6.2 KiB
XML
<?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-auto"
|
|
android:key="accessibility_settings_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_settings">
|
|
|
|
<PreferenceCategory
|
|
android:key="user_installed_services_category"
|
|
android:persistent="false"
|
|
android:title="@string/user_installed_services_category_title"/>
|
|
|
|
<PreferenceCategory
|
|
android:key="screen_reader_category"
|
|
android:persistent="false"
|
|
android:title="@string/screen_reader_category_title">
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.tts.TextToSpeechSettings"
|
|
android:key="tts_settings_preference"
|
|
android:persistent="false"
|
|
android:title="@string/tts_settings_title"
|
|
settings:controller="com.android.settings.language.TtsPreferenceController"/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="display_category"
|
|
android:persistent="false"
|
|
android:title="@string/display_category_title">
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.TextAndDisplayFragment"
|
|
android:key="text_and_display_preference_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_text_and_display_title"
|
|
settings:searchable="true"/>
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.MagnificationPreferenceFragment"
|
|
android:icon="@drawable/ic_accessibility_magnification"
|
|
android:key="magnification_preference_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_screen_magnification_title"
|
|
settings:controller="com.android.settings.accessibility.MagnificationPreferenceController"/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="interaction_control_category"
|
|
android:persistent="false"
|
|
android:title="@string/interaction_control_category_title">
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.TapAssistanceFragment"
|
|
android:key="tap_assistance_preference_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_tap_assistance_title"
|
|
settings:searchable="true"/>
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.SystemControlsFragment"
|
|
android:key="system_controls_preference_screen"
|
|
android:title="@string/accessibility_system_controls_title"
|
|
settings:searchable="true"/>
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.VibrationSettings"
|
|
android:key="vibration_preference_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_vibration_settings_title"
|
|
settings:controller="com.android.settings.accessibility.VibrationPreferenceController"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="audio_and_captions_category"
|
|
android:persistent="false"
|
|
android:title="@string/audio_and_captions_category_title">
|
|
|
|
<Preference
|
|
android:key="live_caption"
|
|
android:persistent="false"
|
|
android:summary="@string/live_caption_summary"
|
|
android:title="@string/live_caption_title"
|
|
settings:searchable="false"
|
|
settings:controller="com.android.settings.accessibility.LiveCaptionPreferenceController"/>
|
|
|
|
<Preference
|
|
android:key="hearing_aid_preference"
|
|
android:persistent="false"
|
|
android:summary="@string/accessibility_hearingaid_not_connected_summary"
|
|
android:title="@string/accessibility_hearingaid_title"
|
|
settings:controller="com.android.settings.accessibility.AccessibilityHearingAidPreferenceController"/>
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.AudioAdjustmentFragment"
|
|
android:key="audio_adjustment_preference_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_audio_adjustment_title"
|
|
settings:searchable="true"/>
|
|
|
|
<Preference
|
|
android:key="rtt_setting"
|
|
android:summary="@string/summary_placeholder"
|
|
android:title="@string/rtt_settings_title"
|
|
settings:controller="com.android.settings.accessibility.RTTSettingPreferenceController"/>
|
|
|
|
<Preference
|
|
android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment"
|
|
android:key="captioning_preference_screen"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_captioning_title"
|
|
settings:controller="com.android.settings.accessibility.CaptioningPreferenceController"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="experimental_category"
|
|
android:persistent="false"
|
|
android:title="@string/experimental_category_title"
|
|
settings:initialExpandedChildrenCount="1">
|
|
|
|
<SwitchPreference
|
|
android:key="accessibility_shortcut_preference"
|
|
android:persistent="false"
|
|
android:title="@string/accessibility_shortcut_service_on_lock_screen_title"
|
|
android:summary="@string/accessibility_shortcut_description"
|
|
settings:controller="com.android.settings.accessibility.AccessibilityShortcutPreferenceController"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|