prefs_screen_correction.xml revision 00b49cad9cc8a350bde8210d50c4b638908ef1c4
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 20 android:title="@string/settings_screen_correction" 21 android:key="screen_correction"> 22 <PreferenceScreen 23 android:key="edit_personal_dictionary" 24 android:title="@string/edit_personal_dictionary"> 25 <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" /> 26 </PreferenceScreen> 27 <PreferenceScreen 28 android:key="configure_dictionaries_key" 29 android:title="@string/configure_dictionaries_title"> 30 <intent 31 android:action="android.intent.action.MAIN" 32 android:targetClass="@string/dictionary_pack_settings_activity"> 33 <extra 34 android:name="clientId" 35 android:value="@string/dictionary_pack_client_id" /> 36 </intent> 37 </PreferenceScreen> 38 <CheckBoxPreference 39 android:key="pref_key_block_potentially_offensive" 40 android:title="@string/prefs_block_potentially_offensive_title" 41 android:summary="@string/prefs_block_potentially_offensive_summary" 42 android:defaultValue="@bool/config_block_potentially_offensive" 43 android:persistent="true" /> 44 <ListPreference 45 android:key="auto_correction_threshold" 46 android:title="@string/auto_correction" 47 android:summary="@string/auto_correction_summary" 48 android:entryValues="@array/auto_correction_threshold_mode_indexes" 49 android:entries="@array/auto_correction_threshold_modes" 50 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" 51 android:persistent="true" /> 52 <CheckBoxPreference 53 android:key="show_suggestions" 54 android:summary="@string/prefs_show_suggestions_summary" 55 android:title="@string/prefs_show_suggestions" 56 android:defaultValue="true" 57 android:persistent="true" /> 58 <CheckBoxPreference 59 android:key="pref_key_use_personalized_dicts" 60 android:title="@string/use_personalized_dicts" 61 android:summary="@string/use_personalized_dicts_summary" 62 android:defaultValue="true" 63 android:persistent="true" /> 64 <CheckBoxPreference 65 android:key="pref_key_use_contacts_dict" 66 android:title="@string/use_contacts_dict" 67 android:summary="@string/use_contacts_dict_summary" 68 android:defaultValue="true" 69 android:persistent="true" /> 70 <CheckBoxPreference 71 android:key="next_word_prediction" 72 android:title="@string/bigram_prediction" 73 android:summary="@string/bigram_prediction_summary" 74 android:defaultValue="true" 75 android:persistent="true" /> 76</PreferenceScreen> 77