prefs.xml revision 6b71530017fbf4521bf1b0e1f936d4216251c42d
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 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 20 android:key="english_ime_settings"> 21 <PreferenceScreen 22 android:fragment="com.android.inputmethod.latin.settings.InputSettingsFragment" 23 android:title="@string/settings_screen_input" 24 android:key="screen_input" /> 25 <ListPreference 26 android:key="pref_keyboard_theme" 27 android:title="@string/keyboard_theme" 28 android:entryValues="@array/keyboard_theme_ids" 29 android:entries="@array/keyboard_theme_names" 30 android:persistent="true" /> 31 <PreferenceScreen 32 android:fragment="com.android.inputmethod.latin.settings.MultiLingualSettingsFragment" 33 android:title="@string/settings_screen_multi_lingual" 34 android:key="screen_multi_lingual" /> 35 <PreferenceScreen 36 android:title="@string/settings_screen_gesture" 37 android:key="screen_gesture"> 38 <CheckBoxPreference 39 android:key="gesture_input" 40 android:title="@string/gesture_input" 41 android:summary="@string/gesture_input_summary" 42 android:defaultValue="true" 43 android:persistent="true" /> 44 <CheckBoxPreference 45 android:key="pref_gesture_floating_preview_text" 46 android:dependency="gesture_input" 47 android:title="@string/gesture_floating_preview_text" 48 android:summary="@string/gesture_floating_preview_text_summary" 49 android:defaultValue="true" 50 android:persistent="true" /> 51 <CheckBoxPreference 52 android:key="pref_gesture_preview_trail" 53 android:dependency="gesture_input" 54 android:title="@string/gesture_preview_trail" 55 android:defaultValue="true" 56 android:persistent="true" /> 57 <CheckBoxPreference 58 android:key="pref_gesture_space_aware" 59 android:dependency="gesture_input" 60 android:title="@string/gesture_space_aware" 61 android:summary="@string/gesture_space_aware_summary" 62 android:defaultValue="true" 63 android:persistent="true" /> 64 </PreferenceScreen> 65 <PreferenceScreen 66 android:title="@string/settings_screen_correction" 67 android:key="screen_correction"> 68 <PreferenceScreen 69 android:key="edit_personal_dictionary" 70 android:title="@string/edit_personal_dictionary"> 71 <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" /> 72 </PreferenceScreen> 73 <PreferenceScreen 74 android:key="configure_dictionaries_key" 75 android:title="@string/configure_dictionaries_title"> 76 <intent 77 android:action="android.intent.action.MAIN" 78 android:targetClass="@string/dictionary_pack_settings_activity"> 79 <extra 80 android:name="clientId" 81 android:value="@string/dictionary_pack_client_id" /> 82 </intent> 83 </PreferenceScreen> 84 <CheckBoxPreference 85 android:key="pref_key_block_potentially_offensive" 86 android:title="@string/prefs_block_potentially_offensive_title" 87 android:summary="@string/prefs_block_potentially_offensive_summary" 88 android:defaultValue="@bool/config_block_potentially_offensive" 89 android:persistent="true" /> 90 <ListPreference 91 android:key="auto_correction_threshold" 92 android:title="@string/auto_correction" 93 android:summary="@string/auto_correction_summary" 94 android:entryValues="@array/auto_correction_threshold_mode_indexes" 95 android:entries="@array/auto_correction_threshold_modes" 96 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" 97 android:persistent="true" /> 98 <CheckBoxPreference 99 android:key="show_suggestions" 100 android:summary="@string/prefs_show_suggestions_summary" 101 android:title="@string/prefs_show_suggestions" 102 android:defaultValue="true" 103 android:persistent="true" /> 104 <CheckBoxPreference 105 android:key="pref_key_use_personalized_dicts" 106 android:title="@string/use_personalized_dicts" 107 android:summary="@string/use_personalized_dicts_summary" 108 android:defaultValue="true" 109 android:persistent="true" /> 110 <CheckBoxPreference 111 android:key="pref_key_use_contacts_dict" 112 android:title="@string/use_contacts_dict" 113 android:summary="@string/use_contacts_dict_summary" 114 android:defaultValue="true" 115 android:persistent="true" /> 116 <CheckBoxPreference 117 android:key="next_word_prediction" 118 android:title="@string/bigram_prediction" 119 android:summary="@string/bigram_prediction_summary" 120 android:defaultValue="true" 121 android:persistent="true" /> 122 </PreferenceScreen> 123 <PreferenceScreen 124 android:title="@string/settings_screen_advanced" 125 android:key="screen_advanced"> 126 <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. --> 127 <ListPreference 128 android:key="pref_key_preview_popup_dismiss_delay" 129 android:title="@string/key_preview_popup_dismiss_delay" /> 130 <com.android.inputmethod.latin.settings.SeekBarDialogPreference 131 android:key="pref_vibration_duration_settings" 132 android:title="@string/prefs_keypress_vibration_duration_settings" 133 latin:maxValue="@integer/config_max_vibration_duration" /> 134 <com.android.inputmethod.latin.settings.SeekBarDialogPreference 135 android:key="pref_keypress_sound_volume" 136 android:title="@string/prefs_keypress_sound_volume_settings" 137 latin:maxValue="100" /> <!-- percent --> 138 <!-- The settigs for showing setup wizard application icon shouldn't be persistent and 139 the default value is added programmatically. --> 140 <CheckBoxPreference 141 android:key="pref_show_setup_wizard_icon" 142 android:title="@string/show_setup_wizard_icon" 143 android:summary="@string/show_setup_wizard_icon_summary" /> 144 <!-- title will be set programmatically to embed application name --> 145 <CheckBoxPreference 146 android:key="pref_enable_metrics_logging" 147 android:summary="@string/enable_metrics_logging_summary" 148 android:defaultValue="true" 149 android:persistent="true" /> 150 <PreferenceScreen 151 android:fragment="com.android.inputmethod.latin.settings.DebugSettings" 152 android:key="screen_debug" 153 android:title="Debug settings" 154 android:defaultValue="false" 155 android:persistent="true" /> 156 </PreferenceScreen> 157</PreferenceScreen> 158