summaryrefslogtreecommitdiffstats
path: root/res/xml/tts_settings.xml
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-06-05 18:37:29 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-06-09 10:48:22 -0700
commited29a6583578a094350596246cb43c2876fd93b4 (patch)
tree4bd923c76c234baf4c8566f2c2c5618b0d774125 /res/xml/tts_settings.xml
parent0c1f89857a730f9f75312fce39ff65c2f01e7d22 (diff)
downloadpackages_apps_Settings-ed29a6583578a094350596246cb43c2876fd93b4.zip
packages_apps_Settings-ed29a6583578a094350596246cb43c2876fd93b4.tar.gz
packages_apps_Settings-ed29a6583578a094350596246cb43c2876fd93b4.tar.bz2
Adding Text-To-Speech default settings in the Settings application.
Diffstat (limited to 'res/xml/tts_settings.xml')
-rw-r--r--res/xml/tts_settings.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/res/xml/tts_settings.xml b/res/xml/tts_settings.xml
new file mode 100644
index 0000000..413e1cc
--- /dev/null
+++ b/res/xml/tts_settings.xml
@@ -0,0 +1,48 @@
+<?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">
+
+ <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
+ 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_pitch"
+ android:title="@string/tts_default_pitch_title"
+ android:summary="@string/tts_default_pitch_summary"
+ android:persistent="false"
+ android:entries="@array/tts_pitch_entries"
+ android:entryValues="@array/tts_pitch_values" />
+
+ </PreferenceCategory>
+
+
+</PreferenceScreen>