1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2008 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 android:title="@string/english_ime_settings" 20 android:key="english_ime_settings"> 21 <PreferenceCategory 22 android:title="@string/general_category" 23 android:key="general_settings"> 24 <CheckBoxPreference 25 android:key="auto_cap" 26 android:title="@string/auto_cap" 27 android:summary="@string/auto_cap_summary" 28 android:persistent="true" 29 android:defaultValue="true" /> 30 <CheckBoxPreference 31 android:key="vibrate_on" 32 android:title="@string/vibrate_on_keypress" 33 android:defaultValue="@bool/config_default_vibration_enabled" 34 android:persistent="true" /> 35 <CheckBoxPreference 36 android:key="sound_on" 37 android:title="@string/sound_on_keypress" 38 android:defaultValue="@bool/config_default_sound_enabled" 39 android:persistent="true" /> 40 <CheckBoxPreference 41 android:key="popup_on" 42 android:title="@string/popup_on_keypress" 43 android:persistent="true" 44 android:defaultValue="@bool/config_default_popup_preview" /> 45 <ListPreference 46 android:key="voice_mode" 47 android:title="@string/voice_input" 48 android:persistent="true" 49 android:entryValues="@array/voice_input_modes_values" 50 android:entries="@array/voice_input_modes" 51 android:defaultValue="@string/voice_mode_main" /> 52 </PreferenceCategory> 53 <PreferenceCategory 54 android:title="@string/correction_category" 55 android:key="correction_settings"> 56 <PreferenceScreen 57 android:key="configure_dictionaries_key" 58 android:title="@string/configure_dictionaries_title"> 59 <intent 60 android:action="android.intent.action.MAIN" 61 android:targetPackage="@string/dictionary_pack_package_name" 62 android:targetClass="@string/dictionary_pack_settings_activity" /> 63 </PreferenceScreen> 64 <ListPreference 65 android:key="auto_correction_threshold" 66 android:title="@string/auto_correction" 67 android:summary="@string/auto_correction_summary" 68 android:persistent="true" 69 android:entryValues="@array/auto_correction_threshold_mode_indexes" 70 android:entries="@array/auto_correction_threshold_modes" 71 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" /> 72 <ListPreference 73 android:key="show_suggestions_setting" 74 android:summary="@string/prefs_show_suggestions_summary" 75 android:title="@string/prefs_show_suggestions" 76 android:persistent="true" 77 android:entryValues="@array/prefs_suggestion_visibility_values" 78 android:entries="@array/prefs_suggestion_visibilities" 79 android:defaultValue="@string/prefs_suggestion_visibility_default_value" /> 80 </PreferenceCategory> 81 <PreferenceCategory 82 android:title="@string/gesture_typing_category" 83 android:key="gesture_typing_settings"> 84 <CheckBoxPreference 85 android:key="gesture_input" 86 android:title="@string/gesture_input" 87 android:summary="@string/gesture_input_summary" 88 android:persistent="true" 89 android:defaultValue="true" /> 90 <CheckBoxPreference 91 android:key="pref_gesture_floating_preview_text" 92 android:title="@string/gesture_floating_preview_text" 93 android:summary="@string/gesture_floating_preview_text_summary" 94 android:persistent="true" 95 android:defaultValue="true" /> 96 <CheckBoxPreference 97 android:key="pref_gesture_preview_trail" 98 android:title="@string/gesture_preview_trail" 99 android:persistent="true" 100 android:defaultValue="true" /> 101 </PreferenceCategory> 102 <PreferenceCategory 103 android:title="@string/misc_category" 104 android:key="misc_settings"> 105 <CheckBoxPreference 106 android:key="next_word_prediction" 107 android:title="@string/bigram_prediction" 108 android:summary="@string/bigram_prediction_summary" 109 android:persistent="true" 110 android:defaultValue="true" /> 111 <PreferenceScreen 112 android:key="pref_advanced_settings" 113 android:title="@string/advanced_settings" 114 android:summary="@string/advanced_settings_summary"> 115 <CheckBoxPreference 116 android:key="pref_key_use_contacts_dict" 117 android:title="@string/use_contacts_dict" 118 android:summary="@string/use_contacts_dict_summary" 119 android:persistent="true" 120 android:defaultValue="true" /> 121 <CheckBoxPreference 122 android:key="pref_show_language_switch_key" 123 android:title="@string/show_language_switch_key" 124 android:summary="@string/show_language_switch_key_summary" 125 android:persistent="true" 126 android:defaultValue="true" /> 127 <CheckBoxPreference 128 android:key="pref_include_other_imes_in_language_switch_list" 129 android:title="@string/include_other_imes_in_language_switch_list" 130 android:summary="@string/include_other_imes_in_language_switch_list_summary" 131 android:persistent="true" 132 android:defaultValue="false" /> 133 <PreferenceScreen 134 android:fragment="com.android.inputmethod.latin.AdditionalSubtypeSettings" 135 android:key="custom_input_styles" 136 android:title="@string/custom_input_styles_title" /> 137 <!-- Values for popup dismiss delay are added programatically --> 138 <ListPreference 139 android:key="pref_key_preview_popup_dismiss_delay" 140 android:title="@string/key_preview_popup_dismiss_delay" /> 141 <PreferenceScreen 142 android:key="pref_vibration_duration_settings" 143 android:title="@string/prefs_keypress_vibration_duration_settings"/> 144 <PreferenceScreen 145 android:key="pref_keypress_sound_volume" 146 android:title="@string/prefs_keypress_sound_volume_settings" /> 147 </PreferenceScreen> 148 <PreferenceScreen 149 android:key="debug_settings" 150 android:title="Debug settings" 151 android:persistent="true" 152 android:defaultValue="false" /> 153 </PreferenceCategory> 154</PreferenceScreen> 155