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