diff options
author | Narayan Kamath <narayan@google.com> | 2011-08-18 17:55:41 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2011-08-23 18:10:01 +0100 |
commit | 0cfbb0f10aca100795169891c9a152d56390a3cf (patch) | |
tree | 89144b4be486a697e1622c40f3c9b8efc318285c /res/xml/tts_settings.xml | |
parent | 5b5c906b39a03260bab4ce253b90fe8b2752483e (diff) | |
download | packages_apps_Settings-0cfbb0f10aca100795169891c9a152d56390a3cf.tar.gz packages_apps_Settings-0cfbb0f10aca100795169891c9a152d56390a3cf.tar.bz2 packages_apps_Settings-0cfbb0f10aca100795169891c9a152d56390a3cf.zip |
Implement the new TTS settings UI.
bug:5149036
Change-Id: I81a9786d20be3e9bf87550d6a0cc04191409600c
Diffstat (limited to 'res/xml/tts_settings.xml')
-rw-r--r-- | res/xml/tts_settings.xml | 67 |
1 files changed, 19 insertions, 48 deletions
diff --git a/res/xml/tts_settings.xml b/res/xml/tts_settings.xml index ecccc1031..2b145d188 100644 --- a/res/xml/tts_settings.xml +++ b/res/xml/tts_settings.xml @@ -17,53 +17,24 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:title="@string/tts_settings_title"> - <Preference - android:key="tts_play_example" + <!-- The contents of this category are filled in by the Java code + based on the list of available engines. --> + <PreferenceCategory android:key="tts_engine_preference_section" + android:title="@string/tts_engine_preference_section_title" /> + + <PreferenceCategory android:key="tts_general_section" + android:title="@string/tts_general_section_title"> + <ListPreference + android:key="tts_default_rate" + android:title="@string/tts_default_rate_title" + android:summary="@string/tts_default_rate_summary" 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> - - + android:entries="@array/tts_rate_entries" + android:entryValues="@array/tts_rate_values" /> + </PreferenceCategory> + + <Preference android:key="tts_play_example" + android:persistent="false" + android:title="@string/tts_play_example_title" + android:summary="@string/tts_play_example_summary" /> </PreferenceScreen> |