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:persistent="true" 28 android:defaultValue="true" /> 29 <CheckBoxPreference 30 android:key="vibrate_on" 31 android:title="@string/vibrate_on_keypress" 32 android:defaultValue="@bool/config_default_vibration_enabled" 33 android:persistent="true" /> 34 <CheckBoxPreference 35 android:key="sound_on" 36 android:title="@string/sound_on_keypress" 37 android:defaultValue="@bool/config_default_sound_enabled" 38 android:persistent="true" /> 39 <CheckBoxPreference 40 android:key="popup_on" 41 android:title="@string/popup_on_keypress" 42 android:persistent="true" 43 android:defaultValue="@bool/config_default_popup_preview" /> 44 <ListPreference 45 android:key="voice_mode" 46 android:title="@string/voice_input" 47 android:persistent="true" 48 android:entryValues="@array/voice_input_modes_values" 49 android:entries="@array/voice_input_modes" 50 android:defaultValue="@string/voice_mode_main" /> 51 </PreferenceCategory> 52 <PreferenceCategory 53 android:title="@string/correction_category" 54 android:key="correction_settings"> 55 <PreferenceScreen 56 android:key="configure_dictionaries_key" 57 android:title="@string/configure_dictionaries_title"> 58 <intent 59 android:action="android.intent.action.MAIN" 60 android:targetPackage="@string/dictionary_pack_package_name" 61 android:targetClass="@string/dictionary_pack_settings_activity" /> 62 </PreferenceScreen> 63 <ListPreference 64 android:key="auto_correction_threshold" 65 android:title="@string/auto_correction" 66 android:summary="@string/auto_correction_summary" 67 android:persistent="true" 68 android:entryValues="@array/auto_correction_threshold_mode_indexes" 69 android:entries="@array/auto_correction_threshold_modes" 70 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" /> 71 <ListPreference 72 android:key="show_suggestions_setting" 73 android:summary="@string/prefs_show_suggestions_summary" 74 android:title="@string/prefs_show_suggestions" 75 android:persistent="true" 76 android:entryValues="@array/prefs_suggestion_visibility_values" 77 android:entries="@array/prefs_suggestion_visibilities" 78 android:defaultValue="@string/prefs_suggestion_visibility_default_value" /> 79 </PreferenceCategory> 80 <PreferenceCategory 81 android:title="@string/misc_category" 82 android:key="misc_settings"> 83 <CheckBoxPreference 84 android:key="usability_study_mode" 85 android:title="@string/prefs_usability_study_mode" 86 android:persistent="true" 87 android:defaultValue="false" /> 88 <PreferenceScreen 89 android:key="pref_advanced_settings" 90 android:title="@string/advanced_settings" 91 android:summary="@string/advanced_settings_summary"> 92 <CheckBoxPreference 93 android:key="pref_suppress_language_switch_key" 94 android:title="@string/suppress_language_switch_key" 95 android:persistent="true" 96 android:defaultValue="false" /> 97 <CheckBoxPreference 98 android:key="pref_include_other_imes_in_language_switch_list" 99 android:title="@string/include_other_imes_in_language_switch_list" 100 android:summary="@string/include_other_imes_in_language_switch_list_summary" 101 android:persistent="true" 102 android:defaultValue="false" /> 103 <PreferenceScreen 104 android:fragment="com.android.inputmethod.latin.AdditionalSubtypeSettings" 105 android:key="custom_input_styles" 106 android:title="@string/custom_input_styles_title" /> 107 <!-- Values for popup dismiss delay are added programatically --> 108 <ListPreference 109 android:key="pref_key_preview_popup_dismiss_delay" 110 android:title="@string/key_preview_popup_dismiss_delay" /> 111 <CheckBoxPreference 112 android:key="pref_key_use_contacts_dict" 113 android:title="@string/use_contacts_dict" 114 android:summary="@string/use_contacts_dict_summary" 115 android:persistent="true" 116 android:defaultValue="true" /> 117 <CheckBoxPreference 118 android:key="next_word_suggestion" 119 android:title="@string/bigram_suggestion" 120 android:summary="@string/bigram_suggestion_summary" 121 android:persistent="true" 122 android:defaultValue="true" /> 123 <CheckBoxPreference 124 android:key="next_word_prediction" 125 android:title="@string/bigram_prediction" 126 android:summary="@string/bigram_prediction_summary" 127 android:persistent="true" 128 android:defaultValue="true" /> 129 <CheckBoxPreference 130 android:key="enable_span_insert" 131 android:title="@string/enable_span_insert" 132 android:summary="@string/enable_span_insert_summary" 133 android:persistent="true" 134 android:defaultValue="true" /> 135 <PreferenceScreen 136 android:key="pref_vibration_duration_settings" 137 android:title="@string/prefs_keypress_vibration_duration_settings"/> 138 <PreferenceScreen 139 android:key="pref_keypress_sound_volume" 140 android:title="@string/prefs_keypress_sound_volume_settings" /> 141 </PreferenceScreen> 142 </PreferenceCategory> 143</PreferenceScreen> 144