diff options
author | Narayan Kamath <narayan@google.com> | 2011-06-14 18:17:40 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2011-06-16 13:35:34 +0100 |
commit | d5642f7060ffe8b5c2f1f760d99f4fcf487b0276 (patch) | |
tree | fe3b6948ebcfb3d3a2ca05ffeaf1334d6b500de9 /res/xml/tts_settings.xml | |
parent | aa5260e40a162c8990830da7648f0c850350360c (diff) | |
download | packages_apps_Settings-d5642f7060ffe8b5c2f1f760d99f4fcf487b0276.zip packages_apps_Settings-d5642f7060ffe8b5c2f1f760d99f4fcf487b0276.tar.gz packages_apps_Settings-d5642f7060ffe8b5c2f1f760d99f4fcf487b0276.tar.bz2 |
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
Diffstat (limited to 'res/xml/tts_settings.xml')
-rw-r--r-- | res/xml/tts_settings.xml | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/res/xml/tts_settings.xml b/res/xml/tts_settings.xml index c378f64..ecccc10 100644 --- a/res/xml/tts_settings.xml +++ b/res/xml/tts_settings.xml @@ -4,9 +4,9 @@ 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. @@ -18,17 +18,11 @@ 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" /> + android:key="tts_play_example" + android:persistent="false" + android:title="@string/tts_play_example_title" + android:summary="@string/tts_play_example_summary" /> - <CheckBoxPreference - android:key="toggle_use_default_tts_settings" - android:title="@string/use_default_tts_settings_title" - android:summary="@string/use_default_tts_settings_summary" - android:persistent="false" /> - <PreferenceCategory android:title="@string/tts_default_settings_section"> <ListPreference @@ -39,12 +33,6 @@ android:entries="@array/tts_engine_entries" android:entryValues="@array/tts_engine_values" /> - <Preference - android:key="tts_install_data" - android:persistent="false" - android:title="@string/tts_install_data_title" - android:summary="@string/tts_install_data_summary" /> - <ListPreference android:key="tts_default_rate" android:title="@string/tts_default_rate_title" @@ -63,8 +51,19 @@ </PreferenceCategory> - <PreferenceCategory android:key="tts_engines_section" - android:title="@string/tts_engines_section" /> + <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> |