Reorganize spell checkers settings

Bug: 15976603
Bug: 16115751
Change-Id: I3b23d7f01d8d39da27215a5263b12304ac64db0f
This commit is contained in:
Tadashi G. Takaoka
2014-07-10 15:37:28 +09:00
parent 1aa40913df
commit cd6fdead7c
12 changed files with 363 additions and 618 deletions

View File

@@ -25,10 +25,14 @@
android:fragment="com.android.settings.LocalePicker"
/>
<com.android.settings.inputmethod.SpellCheckersPreference
<!-- Spell checker preference title, summary and fragment will be set programmatically. -->
<!-- Note: Mark this as persistent="false" to remove unnecessarily saved shared preference.
See: InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference. -->
<PreferenceScreen
android:key="spellcheckers_settings"
android:title="@string/spellcheckers_settings_title"
settings:keywords="@string/keywords_spell_checker"
android:persistent="false"
/>
<!-- User dictionary preference title and fragment will be set programmatically. -->

View File

@@ -14,7 +14,11 @@
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/spellcheckers_settings_title">
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/spellcheckers_settings_title">
<Preference
android:key="spellchecker_language"
android:title="@string/phone_language"
android:persistent="false" />
</PreferenceScreen>