blob: be34b28258bf0340b65a83d808db172ecef4c325 [file] [log] [blame]
Jean-Michel Trivied29a652009-06-05 18:37:29 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
Narayan Kamathd5642f72011-06-14 18:17:40 +01007
Jean-Michel Trivied29a652009-06-05 18:37:29 -07008 http://www.apache.org/licenses/LICENSE-2.0
Narayan Kamathd5642f72011-06-14 18:17:40 +01009
Jean-Michel Trivied29a652009-06-05 18:37:29 -070010 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
Niels Egberts46f38572017-03-20 19:57:17 +000017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
Fan Zhang823dde52017-10-26 15:56:41 -070019 android:key="tts_settings_screen"
Niels Egberts46f38572017-03-20 19:57:17 +000020 android:title="@string/tts_settings_title">
Jean-Michel Trivied29a652009-06-05 18:37:29 -070021
Niels Egberts46f38572017-03-20 19:57:17 +000022 <PreferenceCategory android:key="tts_engine_section">
Niels Egbertse5017dc2016-12-12 13:29:41 +000023
Niels Egberts46f38572017-03-20 19:57:17 +000024 <com.android.settings.widget.GearPreference
25 android:key="tts_engine_preference"
26 android:title="@string/tts_engine_preference_title"
27 android:fragment="com.android.settings.tts.TtsEnginePreferenceFragment"/>
shwetachahar4ac718b2016-02-23 14:37:06 +000028
Niels Egbertse5017dc2016-12-12 13:29:41 +000029 <ListPreference
30 android:key="tts_default_lang"
31 android:title="@string/tts_default_lang_title"
32 android:summary="@string/tts_default_lang_summary"
33 android:persistent="false" />
shwetachaharaaf9df32016-04-15 15:56:13 +010034
Niels Egberts46f38572017-03-20 19:57:17 +000035 </PreferenceCategory>
shwetachahar54334962016-02-08 12:00:35 +000036
Niels Egberts46f38572017-03-20 19:57:17 +000037 <PreferenceCategory android:key="tts_general_section">
38
39 <!-- The max value for seek bars here should be kept in sync
40 with the max value specified in TextToSpeechSettings class. -->
Fan Zhangcbfe1eb2017-05-16 10:50:59 -070041 <com.android.settings.widget.SeekBarPreference
Niels Egberts46f38572017-03-20 19:57:17 +000042 android:key="tts_default_rate"
43 android:title="@string/tts_default_rate_title"
44 android:summary="@string/tts_default_rate_summary"
45 android:defaultValue="50"
46 android:max="600"/>
47
Fan Zhangcbfe1eb2017-05-16 10:50:59 -070048 <com.android.settings.widget.SeekBarPreference
Niels Egberts46f38572017-03-20 19:57:17 +000049 android:key="tts_default_pitch"
50 android:title="@string/tts_default_pitch_title"
51 android:summary="@string/tts_default_pitch_summary"
52 android:defaultValue="100"
53 android:max="400"/>
54
Fan Zhang1105a1a2017-07-28 17:18:44 -070055 <com.android.settings.widget.ActionButtonPreference
56 android:key="action_buttons" />
Niels Egberts46f38572017-03-20 19:57:17 +000057
Narayan Kamath0cfbb0f2011-08-18 17:55:41 +010058 </PreferenceCategory>
Jean-Michel Trivied29a652009-06-05 18:37:29 -070059</PreferenceScreen>