1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2015 The Android Open Source Project
4 
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8 
9        http://www.apache.org/licenses/LICENSE-2.0
10 
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License
16   -->
17 
18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19                   android:title="@string/tts_settings_title">
20 
21     <!-- The contents of this category are filled in by the Java code
22          based on the list of available engines. -->
23     <PreferenceCategory android:key="tts_engine_preference_section"
24                         android:layout="@layout/preference_category_compact_layout"
25                         android:title="@string/tts_engine_preference_section_title"/>
26 
27     <Preference android:fragment="com.android.tv.settings.system.TtsEngineSettingsFragment"
28                 android:key="tts_engine_settings"
29                 android:title="@string/system_accessibility_tts_engine_config"/>
30 
31     <PreferenceCategory android:key="tts_general_section"
32                         android:layout="@layout/preference_category_compact_layout"
33                         android:title="@string/tts_general_section_title">
34         <ListPreference
35             android:entries="@array/tts_rate_entries"
36             android:entryValues="@array/tts_rate_values"
37             android:key="tts_default_rate"
38             android:persistent="true"
39             android:summary="@string/tts_default_rate_summary"
40             android:title="@string/tts_default_rate_title"/>
41     </PreferenceCategory>
42 
43     <Preference android:key="tts_play_example"
44                 android:persistent="true"
45                 android:summary="@string/tts_play_example_summary"
46                 android:title="@string/tts_play_example_title"/>
47 
48     <Preference android:enabled="false"
49                 android:key="tts_status"
50                 android:persistent="true"
51                 android:shouldDisableView="false"
52                 android:title="@string/tts_status_title"/>
53 </PreferenceScreen>
54