1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:settings="http://schemas.android.com/apk/res-auto" 19 android:title="@string/text_to_speech_settings" 20 android:key="@string/psk_text_to_speech_output"> 21 <com.android.car.ui.preference.CarUiTwoActionIconPreference 22 android:fragment="com.android.car.settings.tts.PreferredEngineFragment" 23 android:key="@string/pk_tts_preferred_engine_entry" 24 android:title="@string/text_to_speech_preferred_engine_settings" 25 settings:controller="com.android.car.settings.tts.PreferredEngineEntryPreferenceController" 26 settings:secondaryActionIcon="@drawable/ic_settings_gear"/> 27 <com.android.car.settings.common.LogicalPreferenceGroup 28 android:key="@string/pk_tts_playback_group" 29 settings:controller="com.android.car.settings.tts.TtsPlaybackPreferenceController"> 30 <!-- Currently disabled in TtsPlaybackPreferenceController --> 31 <ListPreference 32 android:key="@string/pk_tts_default_language" 33 android:persistent="false" 34 android:summary="@string/tts_default_lang_summary" 35 android:title="@string/tts_default_lang_title"/> 36 <com.android.car.settings.common.SeekBarPreference 37 android:key="@string/pk_tts_speech_rate" 38 android:title="@string/tts_speech_rate"/> 39 <com.android.car.settings.common.SeekBarPreference 40 android:key="@string/pk_tts_pitch" 41 android:title="@string/tts_pitch"/> 42 <com.android.car.ui.preference.CarUiPreference 43 android:key="@string/pk_tts_reset" 44 android:title="@string/tts_reset" 45 settings:showChevron="false"/> 46 </com.android.car.settings.common.LogicalPreferenceGroup> 47</PreferenceScreen> 48