Files
app_Settings/res/xml/tts_settings.xml
Narayan Kamath d5642f7060 Text to speech settings UI change.
No more separate checkboxes for each of the engines. This brings
it more in line with the voice recognition settings. The user is
shown a data warning every time he chooses a non system engine
as the default.

Change-Id: I00fcb9c9f634a9fc13ff14da8bfade79ae6727c4
2011-06-16 13:35:34 +01:00

70 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/tts_settings_title">
<Preference
android:key="tts_play_example"
android:persistent="false"
android:title="@string/tts_play_example_title"
android:summary="@string/tts_play_example_summary" />
<PreferenceCategory
android:title="@string/tts_default_settings_section">
<ListPreference
android:key="tts_default_synth"
android:title="@string/tts_default_synth_title"
android:summary="@string/tts_default_synth_summary"
android:persistent="false"
android:entries="@array/tts_engine_entries"
android:entryValues="@array/tts_engine_values" />
<ListPreference
android:key="tts_default_rate"
android:title="@string/tts_default_rate_title"
android:summary="@string/tts_default_rate_summary"
android:persistent="false"
android:entries="@array/tts_rate_entries"
android:entryValues="@array/tts_rate_values" />
<ListPreference
android:key="tts_default_lang"
android:title="@string/tts_default_lang_title"
android:summary="@string/tts_default_lang_summary"
android:persistent="false"
android:entries="@array/tts_lang_entries"
android:entryValues="@array/tts_lang_values" />
</PreferenceCategory>
<PreferenceCategory android:key="tts_engine_settings_section"
android:title="@string/tts_engine_settings_section">
<Preference
android:key="tts_engine_settings"
android:persistent="false"
android:title="@string/tts_engine_settings_title" />
<Preference
android:key="tts_install_data"
android:persistent="false"
android:title="@string/tts_install_data_title"
android:summary="@string/tts_install_data_summary" />
</PreferenceCategory>
</PreferenceScreen>