1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 android:title="@string/tts_settings_title">
20 <!-- The contents of this category are filled in by the Java code
21 based on the list of available engines. -->
22 <PreferenceCategory android:key="tts_engine_preference_section"
23 android:title="@string/tts_engine_preference_section_title" />
25 <PreferenceCategory android:key="tts_general_section"
26 android:title="@string/tts_general_section_title">
27 <!-- The max value for seek bars here should be kept in sync
28 with the max value specified in TextToSpeechSettings class. -->
29 <com.android.settings.SeekBarPreference
30 android:key="tts_default_rate"
31 android:title="@string/tts_default_rate_title"
32 android:summary="@string/tts_default_rate_summary"
33 android:defaultValue="50"
35 android:layout="@layout/preference_iconless_slider" />
37 <com.android.settings.SeekBarPreference
38 android:key="tts_default_pitch"
39 android:title="@string/tts_default_pitch_title"
40 android:summary="@string/tts_default_pitch_summary"
41 android:defaultValue="100"
43 android:layout="@layout/preference_iconless_slider" />
45 <Preference android:key="reset_speech_rate"
46 android:persistent="false"
47 android:title="@string/tts_reset_speech_rate_title"
48 android:summary="@string/tts_reset_speech_rate_summary" />
50 <Preference android:key="reset_speech_pitch"
51 android:persistent="false"
52 android:title="@string/tts_reset_speech_pitch_title"
53 android:summary="@string/tts_reset_speech_pitch_summary" />
55 <Preference android:key="tts_play_example"
56 android:persistent="false"
57 android:title="@string/tts_play_example_title"
58 android:summary="@string/tts_play_example_summary" />
60 <Preference android:key="tts_status"
61 android:enabled="false"
62 android:shouldDisableView="false"
63 android:persistent="false"
64 android:title="@string/tts_status_title"/>