• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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
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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:key="tts_settings_screen"
21    android:title="@string/tts_settings_title">
22
23   <com.android.settings.widget.GearPreference
24       android:key="tts_engine_preference"
25       android:title="@string/tts_engine_preference_title"
26       android:fragment="com.android.settings.tts.TtsEnginePreferenceFragment"
27       settings:searchable="false"/>
28
29   <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" />
34
35    <PreferenceCategory android:key="tts_general_section">
36
37        <!-- The max value for seek bars here should be kept in sync
38             with the max value specified in TextToSpeechSettings class. -->
39        <com.android.settings.widget.SeekBarPreference
40            android:key="tts_default_rate"
41            android:title="@string/tts_default_rate_title"
42            android:summary="@string/tts_default_rate_summary"
43            android:defaultValue="50"
44            android:max="600"/>
45
46        <com.android.settings.widget.SeekBarPreference
47            android:key="tts_default_pitch"
48            android:title="@string/tts_default_pitch_title"
49            android:summary="@string/tts_default_pitch_summary"
50            android:defaultValue="100"
51            android:max="400"/>
52
53        <com.android.settingslib.widget.ActionButtonsPreference
54            android:key="action_buttons" />
55
56    </PreferenceCategory>
57</PreferenceScreen>
58