summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-07-24 18:13:04 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-24 18:13:04 -0700
commit37f326b10fce91c6955ea5a9617311e226629ad5 (patch)
tree3366bfc2149441651f42810ef477c9459b2da191 /res
parentb98463f8b0de186dc263217286449a76d6df91a8 (diff)
parente077d2b607032fb66a4a046aa4b46945d32d281e (diff)
downloadpackages_apps_settings-37f326b10fce91c6955ea5a9617311e226629ad5.zip
packages_apps_settings-37f326b10fce91c6955ea5a9617311e226629ad5.tar.gz
packages_apps_settings-37f326b10fce91c6955ea5a9617311e226629ad5.tar.bz2
Merge "[Step 1] Add preference activities for spell checkers"
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/values/styles.xml2
-rw-r--r--res/xml/language_settings.xml4
-rw-r--r--res/xml/spellchecker_prefs.xml20
4 files changed, 27 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2ecc056..e30ebb4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3586,4 +3586,6 @@ found in the list of installed applications.</string>
<!-- Instruction for touch exploration tutorial lesson 2, displayed after the user has scrolled a large amount. -->
<string name="accessibility_tutorial_lesson_2_text_4">You have completed the tutorial. To exit and return to the Talk As I Touch setting, find and tap the <xliff:g id="finish" example="Finish">%s</xliff:g> button.</string>
+ <!-- Title for spelling correction settings -->
+ <string name="spellcheckers_settings_title">Spelling correction</string>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index e9405fb..b832e97 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -158,7 +158,7 @@
<item name="android:layout">@layout/preference_inputmethod</item>
<item name="android:widgetLayout">@layout/preference_inputmethod_widget</item>
</style>
-
+
<style name="AcessibilityTutorialButton">
<item name="android:layout_width">150dip</item>
<item name="android:layout_height">wrap_content</item>
diff --git a/res/xml/language_settings.xml b/res/xml/language_settings.xml
index fdf87fc..f696187 100644
--- a/res/xml/language_settings.xml
+++ b/res/xml/language_settings.xml
@@ -30,6 +30,10 @@
<PreferenceScreen
android:key="key_user_dictionary_settings" />
+ <com.android.settings.inputmethod.SpellCheckersPreference
+ android:key="spellcheckers_settings"
+ android:title="@string/spellcheckers_settings_title"/>
+
</PreferenceCategory>
<PreferenceCategory android:key="keyboard_settings_category"
diff --git a/res/xml/spellchecker_prefs.xml b/res/xml/spellchecker_prefs.xml
new file mode 100644
index 0000000..1de0493
--- /dev/null
+++ b/res/xml/spellchecker_prefs.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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/spellcheckers_settings_title">
+
+</PreferenceScreen>