The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 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 |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 7 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 9 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 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 | |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Tadashi G. Takaoka | 2df0cf2 | 2013-01-18 16:47:49 +0900 | [diff] [blame] | 19 | xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 20 | android:key="english_ime_settings"> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 21 | <PreferenceCategory |
| 22 | android:title="@string/general_category" |
| 23 | android:key="general_settings"> |
| 24 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 25 | android:key="auto_cap" |
| 26 | android:title="@string/auto_cap" |
Tadashi G. Takaoka | 9458e71 | 2012-09-26 11:09:15 +0900 | [diff] [blame] | 27 | android:summary="@string/auto_cap_summary" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 28 | android:persistent="true" |
| 29 | android:defaultValue="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 30 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 31 | android:key="vibrate_on" |
| 32 | android:title="@string/vibrate_on_keypress" |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 33 | android:defaultValue="@bool/config_default_vibration_enabled" |
| 34 | android:persistent="true" /> |
| 35 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 36 | android:key="sound_on" |
| 37 | android:title="@string/sound_on_keypress" |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 38 | android:defaultValue="@bool/config_default_sound_enabled" |
| 39 | android:persistent="true" /> |
| 40 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 41 | android:key="popup_on" |
| 42 | android:title="@string/popup_on_keypress" |
| 43 | android:persistent="true" |
Tadashi G. Takaoka | ce87566 | 2013-01-22 13:29:30 +0900 | [diff] [blame] | 44 | android:defaultValue="@bool/config_default_key_preview_popup" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 45 | <CheckBoxPreference |
Satoshi Kataoka | 21a89c1 | 2013-09-05 15:46:04 +0900 | [diff] [blame] | 46 | android:key="pref_voice_input_key" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 47 | android:title="@string/voice_input" |
| 48 | android:persistent="true" |
Satoshi Kataoka | 21a89c1 | 2013-09-05 15:46:04 +0900 | [diff] [blame] | 49 | android:defaultValue="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 50 | </PreferenceCategory> |
| 51 | <PreferenceCategory |
| 52 | android:title="@string/correction_category" |
| 53 | android:key="correction_settings"> |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 54 | <PreferenceScreen |
Tadashi G. Takaoka | 4f25353 | 2013-04-15 18:46:57 +0900 | [diff] [blame] | 55 | android:key="edit_personal_dictionary" |
| 56 | android:title="@string/edit_personal_dictionary"> |
| 57 | <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" /> |
| 58 | </PreferenceScreen> |
| 59 | <PreferenceScreen |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 60 | android:key="configure_dictionaries_key" |
| 61 | android:title="@string/configure_dictionaries_title"> |
| 62 | <intent |
| 63 | android:action="android.intent.action.MAIN" |
Jean Chalard | 3c3b3c8 | 2013-02-22 21:24:15 -0800 | [diff] [blame] | 64 | android:targetClass="@string/dictionary_pack_settings_activity"> |
| 65 | <extra |
| 66 | android:name="clientId" |
| 67 | android:value="@string/dictionary_pack_client_id" /> |
| 68 | </intent> |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 69 | </PreferenceScreen> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 70 | <CheckBoxPreference |
Jean Chalard | d361dc8 | 2013-04-23 12:37:21 +0900 | [diff] [blame] | 71 | android:key="pref_key_block_potentially_offensive" |
| 72 | android:title="@string/prefs_block_potentially_offensive_title" |
| 73 | android:summary="@string/prefs_block_potentially_offensive_summary" |
| 74 | android:persistent="true" |
| 75 | android:defaultValue="@bool/config_block_potentially_offensive" /> |
satok | 7599cfe | 2010-11-13 19:09:30 +0900 | [diff] [blame] | 76 | <ListPreference |
Tadashi G. Takaoka | 1b1f7f9 | 2010-12-11 17:06:24 +0900 | [diff] [blame] | 77 | android:key="auto_correction_threshold" |
| 78 | android:title="@string/auto_correction" |
| 79 | android:summary="@string/auto_correction_summary" |
Mitsuhiro Shimoda | b1abda8 | 2010-09-28 12:23:26 +0900 | [diff] [blame] | 80 | android:persistent="true" |
Tadashi G. Takaoka | 9ecad8c | 2010-12-13 12:37:23 +0900 | [diff] [blame] | 81 | android:entryValues="@array/auto_correction_threshold_mode_indexes" |
Tadashi G. Takaoka | 1b1f7f9 | 2010-12-11 17:06:24 +0900 | [diff] [blame] | 82 | android:entries="@array/auto_correction_threshold_modes" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 83 | android:defaultValue="@string/auto_correction_threshold_mode_index_modest" /> |
Jean Chalard | 89764ad | 2011-01-19 17:44:39 +0900 | [diff] [blame] | 84 | <ListPreference |
| 85 | android:key="show_suggestions_setting" |
| 86 | android:summary="@string/prefs_show_suggestions_summary" |
| 87 | android:title="@string/prefs_show_suggestions" |
| 88 | android:persistent="true" |
| 89 | android:entryValues="@array/prefs_suggestion_visibility_values" |
| 90 | android:entries="@array/prefs_suggestion_visibilities" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 91 | android:defaultValue="@string/prefs_suggestion_visibility_default_value" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 92 | <CheckBoxPreference |
Tadashi G. Takaoka | c2ba73a | 2014-02-20 06:02:26 +0000 | [diff] [blame] | 93 | android:key="pref_key_use_personalized_dicts" |
Keisuke Kuroyanagi | 0a8e307 | 2013-12-17 21:01:06 +0900 | [diff] [blame] | 94 | android:title="@string/use_personalized_dicts" |
| 95 | android:summary="@string/use_personalized_dicts_summary" |
| 96 | android:persistent="true" |
Tadashi G. Takaoka | c2ba73a | 2014-02-20 06:02:26 +0000 | [diff] [blame] | 97 | android:defaultValue="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 98 | <!-- title will be set programmatically to embed application name --> |
| 99 | <CheckBoxPreference |
| 100 | android:key="pref_enable_metrics_logging" |
| 101 | android:summary="@string/enable_metrics_logging_summary" |
Yohei Yukawa | 28c7b26 | 2014-06-03 17:40:24 +0900 | [diff] [blame] | 102 | android:persistent="true" |
| 103 | android:defaultValue="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 104 | </PreferenceCategory> |
| 105 | <PreferenceCategory |
| 106 | android:title="@string/gesture_typing_category" |
| 107 | android:key="gesture_typing_settings"> |
| 108 | <CheckBoxPreference |
| 109 | android:key="gesture_input" |
| 110 | android:title="@string/gesture_input" |
| 111 | android:summary="@string/gesture_input_summary" |
| 112 | android:persistent="true" |
| 113 | android:defaultValue="true" /> |
| 114 | <!-- TODO: Move these two options to the advanced settings. --> |
| 115 | <CheckBoxPreference |
| 116 | android:key="pref_gesture_floating_preview_text" |
| 117 | android:dependency="gesture_input" |
| 118 | android:title="@string/gesture_floating_preview_text" |
| 119 | android:summary="@string/gesture_floating_preview_text_summary" |
| 120 | android:persistent="true" |
| 121 | android:defaultValue="true" /> |
| 122 | <CheckBoxPreference |
| 123 | android:key="pref_gesture_preview_trail" |
| 124 | android:dependency="gesture_input" |
| 125 | android:title="@string/gesture_preview_trail" |
| 126 | android:persistent="true" |
| 127 | android:defaultValue="true" /> |
| 128 | </PreferenceCategory> |
| 129 | <PreferenceCategory |
| 130 | android:title="@string/misc_category" |
| 131 | android:key="misc_settings"> |
| 132 | <CheckBoxPreference |
Jean Chalard | e9e51ca | 2012-06-19 11:27:10 -0700 | [diff] [blame] | 133 | android:key="next_word_prediction" |
| 134 | android:title="@string/bigram_prediction" |
| 135 | android:summary="@string/bigram_prediction_summary" |
| 136 | android:persistent="true" |
| 137 | android:defaultValue="true" /> |
satok | c9c54a8 | 2011-09-14 14:07:10 +0900 | [diff] [blame] | 138 | <PreferenceScreen |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 139 | android:key="pref_advanced_settings" |
| 140 | android:title="@string/advanced_settings" |
| 141 | android:summary="@string/advanced_settings_summary"> |
| 142 | <CheckBoxPreference |
| 143 | android:key="pref_key_use_contacts_dict" |
| 144 | android:title="@string/use_contacts_dict" |
| 145 | android:summary="@string/use_contacts_dict_summary" |
| 146 | android:persistent="true" |
| 147 | android:defaultValue="true" /> |
| 148 | <CheckBoxPreference |
| 149 | android:key="pref_key_use_double_space_period" |
| 150 | android:title="@string/use_double_space_period" |
| 151 | android:summary="@string/use_double_space_period_summary" |
| 152 | android:persistent="true" |
| 153 | android:defaultValue="true" /> |
| 154 | <CheckBoxPreference |
| 155 | android:key="pref_show_language_switch_key" |
| 156 | android:title="@string/show_language_switch_key" |
| 157 | android:summary="@string/show_language_switch_key_summary" |
| 158 | android:persistent="true" |
| 159 | android:defaultValue="true" /> |
| 160 | <CheckBoxPreference |
| 161 | android:key="pref_include_other_imes_in_language_switch_list" |
| 162 | android:dependency="pref_show_language_switch_key" |
| 163 | android:title="@string/include_other_imes_in_language_switch_list" |
| 164 | android:summary="@string/include_other_imes_in_language_switch_list_summary" |
| 165 | android:persistent="true" |
| 166 | android:defaultValue="false" /> |
| 167 | <ListPreference |
| 168 | android:key="pref_keyboard_theme" |
| 169 | android:title="@string/keyboard_color_scheme" |
| 170 | android:persistent="true" |
| 171 | android:entryValues="@array/keyboard_theme_ids" |
| 172 | android:entries="@array/keyboard_theme_names" /> |
| 173 | <PreferenceScreen |
| 174 | android:fragment="com.android.inputmethod.latin.settings.AdditionalSubtypeSettings" |
| 175 | android:key="custom_input_styles" |
| 176 | android:title="@string/custom_input_styles_title" /> |
| 177 | <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. --> |
| 178 | <ListPreference |
| 179 | android:key="pref_key_preview_popup_dismiss_delay" |
| 180 | android:title="@string/key_preview_popup_dismiss_delay" /> |
| 181 | <com.android.inputmethod.latin.settings.SeekBarDialogPreference |
| 182 | android:key="pref_vibration_duration_settings" |
| 183 | android:title="@string/prefs_keypress_vibration_duration_settings" |
| 184 | latin:maxValue="@integer/config_max_vibration_duration" /> |
| 185 | <com.android.inputmethod.latin.settings.SeekBarDialogPreference |
| 186 | android:key="pref_keypress_sound_volume" |
| 187 | android:title="@string/prefs_keypress_sound_volume_settings" |
| 188 | latin:maxValue="100" /> <!-- percent --> |
| 189 | <!-- The settigs for showing setup wizard application icon shouldn't be persistent and |
| 190 | the default value is added programmatically. --> |
| 191 | <CheckBoxPreference |
| 192 | android:key="pref_show_setup_wizard_icon" |
| 193 | android:title="@string/show_setup_wizard_icon" |
| 194 | android:summary="@string/show_setup_wizard_icon_summary" /> |
| 195 | </PreferenceScreen> |
| 196 | <PreferenceScreen |
| 197 | android:key="send_feedback" |
| 198 | android:title="@string/send_feedback" /> |
| 199 | <PreferenceScreen |
| 200 | android:key="about_keyboard" /> |
| 201 | <PreferenceScreen |
| 202 | android:key="debug_settings" |
Satoshi Kataoka | 8ae8c76 | 2012-09-21 15:09:47 +0900 | [diff] [blame] | 203 | android:title="Debug settings" |
| 204 | android:persistent="true" |
| 205 | android:defaultValue="false" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame^] | 206 | </PreferenceCategory> |
satok | b1ae5d8 | 2011-04-19 21:52:12 -0700 | [diff] [blame] | 207 | </PreferenceScreen> |