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"> |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 21 | <PreferenceScreen |
Tadashi G. Takaoka | bfcd98e | 2014-07-23 17:08:18 -0700 | [diff] [blame^] | 22 | android:fragment="com.android.inputmethod.latin.settings.InputSettingsFragment" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 23 | android:title="@string/settings_screen_input" |
Tadashi G. Takaoka | bfcd98e | 2014-07-23 17:08:18 -0700 | [diff] [blame^] | 24 | android:key="screen_input" /> |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 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:title="@string/settings_screen_multi_lingual" |
| 33 | android:key="screen_multi_lingual"> |
| 34 | <CheckBoxPreference |
| 35 | android:key="pref_show_language_switch_key" |
| 36 | android:title="@string/show_language_switch_key" |
| 37 | android:summary="@string/show_language_switch_key_summary" |
| 38 | android:defaultValue="true" |
| 39 | android:persistent="true" /> |
| 40 | <CheckBoxPreference |
| 41 | android:key="pref_include_other_imes_in_language_switch_list" |
| 42 | android:dependency="pref_show_language_switch_key" |
| 43 | android:title="@string/include_other_imes_in_language_switch_list" |
| 44 | android:summary="@string/include_other_imes_in_language_switch_list_summary" |
| 45 | android:defaultValue="false" |
| 46 | android:persistent="true" /> |
| 47 | <PreferenceScreen |
| 48 | android:fragment="com.android.inputmethod.latin.settings.AdditionalSubtypeSettings" |
| 49 | android:key="custom_input_styles" |
| 50 | android:title="@string/custom_input_styles_title" /> |
| 51 | </PreferenceScreen> |
| 52 | <PreferenceScreen |
| 53 | android:title="@string/settings_screen_gesture" |
| 54 | android:key="screen_gesture"> |
| 55 | <CheckBoxPreference |
| 56 | android:key="gesture_input" |
| 57 | android:title="@string/gesture_input" |
| 58 | android:summary="@string/gesture_input_summary" |
| 59 | android:defaultValue="true" |
| 60 | android:persistent="true" /> |
| 61 | <CheckBoxPreference |
| 62 | android:key="pref_gesture_floating_preview_text" |
| 63 | android:dependency="gesture_input" |
| 64 | android:title="@string/gesture_floating_preview_text" |
| 65 | android:summary="@string/gesture_floating_preview_text_summary" |
| 66 | android:defaultValue="true" |
| 67 | android:persistent="true" /> |
| 68 | <CheckBoxPreference |
| 69 | android:key="pref_gesture_preview_trail" |
| 70 | android:dependency="gesture_input" |
| 71 | android:title="@string/gesture_preview_trail" |
| 72 | android:defaultValue="true" |
| 73 | android:persistent="true" /> |
Keisuke Kuroyanagi | b8a9479 | 2014-07-08 16:36:06 +0900 | [diff] [blame] | 74 | <CheckBoxPreference |
| 75 | android:key="pref_gesture_space_aware" |
| 76 | android:dependency="gesture_input" |
| 77 | android:title="@string/gesture_space_aware" |
| 78 | android:summary="@string/gesture_space_aware_summary" |
| 79 | android:defaultValue="true" |
| 80 | android:persistent="true" /> |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 81 | </PreferenceScreen> |
| 82 | <PreferenceScreen |
| 83 | android:title="@string/settings_screen_correction" |
| 84 | android:key="screen_correction"> |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 85 | <PreferenceScreen |
Tadashi G. Takaoka | 4f25353 | 2013-04-15 18:46:57 +0900 | [diff] [blame] | 86 | android:key="edit_personal_dictionary" |
| 87 | android:title="@string/edit_personal_dictionary"> |
| 88 | <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" /> |
| 89 | </PreferenceScreen> |
| 90 | <PreferenceScreen |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 91 | android:key="configure_dictionaries_key" |
| 92 | android:title="@string/configure_dictionaries_title"> |
| 93 | <intent |
| 94 | android:action="android.intent.action.MAIN" |
Jean Chalard | 3c3b3c8 | 2013-02-22 21:24:15 -0800 | [diff] [blame] | 95 | android:targetClass="@string/dictionary_pack_settings_activity"> |
| 96 | <extra |
| 97 | android:name="clientId" |
| 98 | android:value="@string/dictionary_pack_client_id" /> |
| 99 | </intent> |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 100 | </PreferenceScreen> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame] | 101 | <CheckBoxPreference |
Jean Chalard | d361dc8 | 2013-04-23 12:37:21 +0900 | [diff] [blame] | 102 | android:key="pref_key_block_potentially_offensive" |
| 103 | android:title="@string/prefs_block_potentially_offensive_title" |
| 104 | android:summary="@string/prefs_block_potentially_offensive_summary" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 105 | android:defaultValue="@bool/config_block_potentially_offensive" |
| 106 | android:persistent="true" /> |
satok | 7599cfe | 2010-11-13 19:09:30 +0900 | [diff] [blame] | 107 | <ListPreference |
Tadashi G. Takaoka | 1b1f7f9 | 2010-12-11 17:06:24 +0900 | [diff] [blame] | 108 | android:key="auto_correction_threshold" |
| 109 | android:title="@string/auto_correction" |
| 110 | android:summary="@string/auto_correction_summary" |
Tadashi G. Takaoka | 9ecad8c | 2010-12-13 12:37:23 +0900 | [diff] [blame] | 111 | android:entryValues="@array/auto_correction_threshold_mode_indexes" |
Tadashi G. Takaoka | 1b1f7f9 | 2010-12-11 17:06:24 +0900 | [diff] [blame] | 112 | android:entries="@array/auto_correction_threshold_modes" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 113 | android:defaultValue="@string/auto_correction_threshold_mode_index_modest" |
| 114 | android:persistent="true" /> |
Tadashi G. Takaoka | ab661e3 | 2014-07-22 10:18:38 -0700 | [diff] [blame] | 115 | <CheckBoxPreference |
| 116 | android:key="show_suggestions" |
Jean Chalard | 89764ad | 2011-01-19 17:44:39 +0900 | [diff] [blame] | 117 | android:summary="@string/prefs_show_suggestions_summary" |
| 118 | android:title="@string/prefs_show_suggestions" |
Tadashi G. Takaoka | ab661e3 | 2014-07-22 10:18:38 -0700 | [diff] [blame] | 119 | android:defaultValue="true" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 120 | android:persistent="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame] | 121 | <CheckBoxPreference |
Tadashi G. Takaoka | c2ba73a | 2014-02-20 06:02:26 +0000 | [diff] [blame] | 122 | android:key="pref_key_use_personalized_dicts" |
Keisuke Kuroyanagi | 0a8e307 | 2013-12-17 21:01:06 +0900 | [diff] [blame] | 123 | android:title="@string/use_personalized_dicts" |
| 124 | android:summary="@string/use_personalized_dicts_summary" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 125 | android:defaultValue="true" |
| 126 | android:persistent="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame] | 127 | <CheckBoxPreference |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 128 | android:key="pref_key_use_contacts_dict" |
| 129 | android:title="@string/use_contacts_dict" |
| 130 | android:summary="@string/use_contacts_dict_summary" |
| 131 | android:defaultValue="true" |
| 132 | android:persistent="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame] | 133 | <CheckBoxPreference |
Jean Chalard | e9e51ca | 2012-06-19 11:27:10 -0700 | [diff] [blame] | 134 | android:key="next_word_prediction" |
| 135 | android:title="@string/bigram_prediction" |
| 136 | android:summary="@string/bigram_prediction_summary" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 137 | android:defaultValue="true" |
| 138 | android:persistent="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame] | 139 | </PreferenceScreen> |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 140 | <PreferenceScreen |
| 141 | android:title="@string/settings_screen_advanced" |
| 142 | android:key="screen_advanced"> |
| 143 | <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. --> |
| 144 | <ListPreference |
| 145 | android:key="pref_key_preview_popup_dismiss_delay" |
| 146 | android:title="@string/key_preview_popup_dismiss_delay" /> |
| 147 | <com.android.inputmethod.latin.settings.SeekBarDialogPreference |
| 148 | android:key="pref_vibration_duration_settings" |
| 149 | android:title="@string/prefs_keypress_vibration_duration_settings" |
| 150 | latin:maxValue="@integer/config_max_vibration_duration" /> |
| 151 | <com.android.inputmethod.latin.settings.SeekBarDialogPreference |
| 152 | android:key="pref_keypress_sound_volume" |
| 153 | android:title="@string/prefs_keypress_sound_volume_settings" |
| 154 | latin:maxValue="100" /> <!-- percent --> |
| 155 | <!-- The settigs for showing setup wizard application icon shouldn't be persistent and |
| 156 | the default value is added programmatically. --> |
| 157 | <CheckBoxPreference |
| 158 | android:key="pref_show_setup_wizard_icon" |
| 159 | android:title="@string/show_setup_wizard_icon" |
| 160 | android:summary="@string/show_setup_wizard_icon_summary" /> |
| 161 | <!-- title will be set programmatically to embed application name --> |
| 162 | <CheckBoxPreference |
| 163 | android:key="pref_enable_metrics_logging" |
| 164 | android:summary="@string/enable_metrics_logging_summary" |
| 165 | android:defaultValue="true" |
| 166 | android:persistent="true" /> |
Ken Wakasa | e6a57bc | 2014-06-23 11:18:50 +0000 | [diff] [blame] | 167 | <PreferenceScreen |
Tadashi G. Takaoka | a270ac4 | 2014-07-23 16:50:58 -0700 | [diff] [blame] | 168 | android:fragment="com.android.inputmethod.latin.settings.DebugSettings" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 169 | android:key="screen_debug" |
Satoshi Kataoka | 8ae8c76 | 2012-09-21 15:09:47 +0900 | [diff] [blame] | 170 | android:title="Debug settings" |
Tadashi G. Takaoka | 058c6c6 | 2014-06-19 17:47:11 -0700 | [diff] [blame] | 171 | android:defaultValue="false" |
| 172 | android:persistent="true" /> |
| 173 | </PreferenceScreen> |
satok | b1ae5d8 | 2011-04-19 21:52:12 -0700 | [diff] [blame] | 174 | </PreferenceScreen> |