Jean-Michel Trivi | ed29a65 | 2009-06-05 18:37:29 -0700 | [diff] [blame] | 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 |
Narayan Kamath | d5642f7 | 2011-06-14 18:17:40 +0100 | [diff] [blame] | 7 | |
Jean-Michel Trivi | ed29a65 | 2009-06-05 18:37:29 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Narayan Kamath | d5642f7 | 2011-06-14 18:17:40 +0100 | [diff] [blame] | 9 | |
Jean-Michel Trivi | ed29a65 | 2009-06-05 18:37:29 -0700 | [diff] [blame] | 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 | |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 19 | android:key="tts_settings_screen" |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 20 | android:title="@string/tts_settings_title"> |
Jean-Michel Trivi | ed29a65 | 2009-06-05 18:37:29 -0700 | [diff] [blame] | 21 | |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 22 | <PreferenceCategory android:key="tts_engine_section"> |
Niels Egberts | e5017dc | 2016-12-12 13:29:41 +0000 | [diff] [blame] | 23 | |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 24 | <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"/> |
shwetachahar | 4ac718b | 2016-02-23 14:37:06 +0000 | [diff] [blame] | 28 | |
Niels Egberts | e5017dc | 2016-12-12 13:29:41 +0000 | [diff] [blame] | 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" /> |
shwetachahar | aaf9df3 | 2016-04-15 15:56:13 +0100 | [diff] [blame] | 34 | |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 35 | </PreferenceCategory> |
shwetachahar | 5433496 | 2016-02-08 12:00:35 +0000 | [diff] [blame] | 36 | |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 37 | <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 Zhang | cbfe1eb | 2017-05-16 10:50:59 -0700 | [diff] [blame] | 41 | <com.android.settings.widget.SeekBarPreference |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 42 | 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 Zhang | cbfe1eb | 2017-05-16 10:50:59 -0700 | [diff] [blame] | 48 | <com.android.settings.widget.SeekBarPreference |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 49 | 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 Zhang | 1105a1a | 2017-07-28 17:18:44 -0700 | [diff] [blame] | 55 | <com.android.settings.widget.ActionButtonPreference |
| 56 | android:key="action_buttons" /> |
Niels Egberts | 46f3857 | 2017-03-20 19:57:17 +0000 | [diff] [blame] | 57 | |
Narayan Kamath | 0cfbb0f | 2011-08-18 17:55:41 +0100 | [diff] [blame] | 58 | </PreferenceCategory> |
Jean-Michel Trivi | ed29a65 | 2009-06-05 18:37:29 -0700 | [diff] [blame] | 59 | </PreferenceScreen> |