blob: a39ce4ae850a6683d1c1de6bc69d6dab790cd6d0 [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001<?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 Chalardce9c4172011-01-19 15:07:14 +09007
The Android Open Source Project923bf412009-03-13 15:11:42 -07008 http://www.apache.org/licenses/LICENSE-2.0
Jean Chalardce9c4172011-01-19 15:07:14 +09009
The Android Open Source Project923bf412009-03-13 15:11:42 -070010 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
satok8f9b86f2011-04-01 19:31:30 +090017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +090019 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
satok8f9b86f2011-04-01 19:31:30 +090020 android:key="english_ime_settings">
Jean Chalardce9c4172011-01-19 15:07:14 +090021 <PreferenceCategory
satok8f9b86f2011-04-01 19:31:30 +090022 android:title="@string/general_category"
23 android:key="general_settings">
Jean Chalardce9c4172011-01-19 15:07:14 +090024 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090025 android:key="auto_cap"
26 android:title="@string/auto_cap"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090027 android:summary="@string/auto_cap_summary"
satok8f9b86f2011-04-01 19:31:30 +090028 android:persistent="true"
29 android:defaultValue="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090030 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090031 android:key="vibrate_on"
32 android:title="@string/vibrate_on_keypress"
Ken Wakasa37af28d2011-09-20 20:16:11 +090033 android:defaultValue="@bool/config_default_vibration_enabled"
satok8f9b86f2011-04-01 19:31:30 +090034 android:persistent="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090035 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090036 android:key="sound_on"
37 android:title="@string/sound_on_keypress"
38 android:defaultValue="@bool/config_default_sound_enabled"
39 android:persistent="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090040 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090041 android:key="popup_on"
42 android:title="@string/popup_on_keypress"
43 android:persistent="true"
Tadashi G. Takaokace875662013-01-22 13:29:30 +090044 android:defaultValue="@bool/config_default_key_preview_popup" />
Satoshi Kataoka21a89c12013-09-05 15:46:04 +090045 <CheckBoxPreference
46 android:key="pref_voice_input_key"
satok8f9b86f2011-04-01 19:31:30 +090047 android:title="@string/voice_input"
48 android:persistent="true"
Satoshi Kataoka21a89c12013-09-05 15:46:04 +090049 android:defaultValue="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090050 </PreferenceCategory>
The Android Open Source Project923bf412009-03-13 15:11:42 -070051 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090052 android:title="@string/correction_category"
53 android:key="correction_settings">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090054 <PreferenceScreen
Tadashi G. Takaoka4f253532013-04-15 18:46:57 +090055 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 Chalard4f3d5d32011-06-24 20:17:38 +090060 android:key="configure_dictionaries_key"
61 android:title="@string/configure_dictionaries_title">
62 <intent
63 android:action="android.intent.action.MAIN"
Jean Chalard3c3b3c82013-02-22 21:24:15 -080064 android:targetClass="@string/dictionary_pack_settings_activity">
65 <extra
66 android:name="clientId"
67 android:value="@string/dictionary_pack_client_id" />
68 </intent>
Jean Chalard4f3d5d32011-06-24 20:17:38 +090069 </PreferenceScreen>
Jean Chalardd361dc82013-04-23 12:37:21 +090070 <CheckBoxPreference
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" />
satok7599cfe2010-11-13 19:09:30 +090076 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090077 android:key="auto_correction_threshold"
78 android:title="@string/auto_correction"
79 android:summary="@string/auto_correction_summary"
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +090080 android:persistent="true"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090081 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090082 android:entries="@array/auto_correction_threshold_modes"
satok8f9b86f2011-04-01 19:31:30 +090083 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" />
Jean Chalard89764ad2011-01-19 17:44:39 +090084 <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"
satok8f9b86f2011-04-01 19:31:30 +090091 android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
Keisuke Kuroyanagi0a8e3072013-12-17 21:01:06 +090092 <CheckBoxPreference
Tadashi G. Takaokac2ba73a2014-02-20 06:02:26 +000093 android:key="pref_key_use_personalized_dicts"
Keisuke Kuroyanagi0a8e3072013-12-17 21:01:06 +090094 android:title="@string/use_personalized_dicts"
95 android:summary="@string/use_personalized_dicts_summary"
96 android:persistent="true"
Tadashi G. Takaokac2ba73a2014-02-20 06:02:26 +000097 android:defaultValue="true" />
Jean Chalardb5059122011-04-22 13:08:35 +090098 </PreferenceCategory>
99 <PreferenceCategory
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900100 android:title="@string/gesture_typing_category"
101 android:key="gesture_typing_settings">
102 <CheckBoxPreference
103 android:key="gesture_input"
104 android:title="@string/gesture_input"
105 android:summary="@string/gesture_input_summary"
106 android:persistent="true"
107 android:defaultValue="true" />
Tadashi G. Takaoka4f5f81d2013-04-11 15:54:38 +0900108 <!-- TODO: Move these two options to the advanced settings. -->
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900109 <CheckBoxPreference
Tadashi G. Takaoka15281ad2012-10-02 10:30:03 +0900110 android:key="pref_gesture_floating_preview_text"
Tadashi G. Takaoka29105a72013-04-15 15:07:20 +0900111 android:dependency="gesture_input"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900112 android:title="@string/gesture_floating_preview_text"
113 android:summary="@string/gesture_floating_preview_text_summary"
114 android:persistent="true"
Tadashi G. Takaoka15281ad2012-10-02 10:30:03 +0900115 android:defaultValue="true" />
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900116 <CheckBoxPreference
117 android:key="pref_gesture_preview_trail"
Tadashi G. Takaoka29105a72013-04-15 15:07:20 +0900118 android:dependency="gesture_input"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900119 android:title="@string/gesture_preview_trail"
120 android:persistent="true"
121 android:defaultValue="true" />
122 </PreferenceCategory>
123 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +0900124 android:title="@string/misc_category"
125 android:key="misc_settings">
satokc9c54a82011-09-14 14:07:10 +0900126 <CheckBoxPreference
Jean Chalarde9e51ca2012-06-19 11:27:10 -0700127 android:key="next_word_prediction"
128 android:title="@string/bigram_prediction"
129 android:summary="@string/bigram_prediction_summary"
130 android:persistent="true"
131 android:defaultValue="true" />
satokc9c54a82011-09-14 14:07:10 +0900132 <PreferenceScreen
133 android:key="pref_advanced_settings"
134 android:title="@string/advanced_settings"
135 android:summary="@string/advanced_settings_summary">
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800136 <CheckBoxPreference
Tadashi G. Takaoka47e2bf32012-07-27 15:32:29 +0900137 android:key="pref_key_use_contacts_dict"
138 android:title="@string/use_contacts_dict"
139 android:summary="@string/use_contacts_dict_summary"
140 android:persistent="true"
141 android:defaultValue="true" />
142 <CheckBoxPreference
Ken Wakasa139bd83f2012-12-04 15:24:55 +0900143 android:key="pref_key_use_double_space_period"
144 android:title="@string/use_double_space_period"
145 android:summary="@string/use_double_space_period_summary"
146 android:persistent="true"
147 android:defaultValue="true" />
148 <CheckBoxPreference
Tadashi G. Takaoka1a4aa7e2012-09-20 10:32:56 +0900149 android:key="pref_show_language_switch_key"
150 android:title="@string/show_language_switch_key"
151 android:summary="@string/show_language_switch_key_summary"
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800152 android:persistent="true"
Tadashi G. Takaoka1a4aa7e2012-09-20 10:32:56 +0900153 android:defaultValue="true" />
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800154 <CheckBoxPreference
155 android:key="pref_include_other_imes_in_language_switch_list"
156 android:title="@string/include_other_imes_in_language_switch_list"
157 android:summary="@string/include_other_imes_in_language_switch_list_summary"
158 android:persistent="true"
159 android:defaultValue="false" />
Tadashi G. Takaoka2e1b55f2013-03-05 12:54:13 +0900160 <!-- Values for popup dismiss delay are added programmatically -->
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +0900161 <CheckBoxPreference
162 android:key="pref_sliding_key_input_preview"
163 android:title="@string/sliding_key_input_preview"
Tadashi G. Takaoka84106a72013-01-29 17:37:31 +0900164 android:summary="@string/sliding_key_input_preview_summary"
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +0900165 android:persistent="true"
166 android:defaultValue="true" />
Tadashi G. Takaokab4c7a102013-11-11 20:39:03 +0900167 <ListPreference
168 android:key="pref_keyboard_layout_20110916"
169 android:title="@string/keyboard_color_scheme"
Tadashi G. Takaokab4c7a102013-11-11 20:39:03 +0900170 android:persistent="true"
171 android:entryValues="@array/keyboard_color_schemes_values"
172 android:entries="@array/keyboard_color_schemes"
173 android:defaultValue="@string/config_default_keyboard_theme_index" />
Tadashi G. Takaoka4f5f81d2013-04-11 15:54:38 +0900174 <PreferenceScreen
Tadashi G. Takaoka318cb102013-07-23 13:24:45 +0900175 android:fragment="com.android.inputmethod.latin.settings.AdditionalSubtypeSettings"
Tadashi G. Takaoka4f5f81d2013-04-11 15:54:38 +0900176 android:key="custom_input_styles"
177 android:title="@string/custom_input_styles_title" />
Tadashi G. Takaokac9072dc2014-02-17 12:10:09 +0900178 <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. -->
satokc9c54a82011-09-14 14:07:10 +0900179 <ListPreference
180 android:key="pref_key_preview_popup_dismiss_delay"
181 android:title="@string/key_preview_popup_dismiss_delay" />
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900182 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +0900183 android:key="pref_key_longpress_timeout"
184 android:title="@string/prefs_key_longpress_timeout_settings"
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +0900185 latin:minValue="@integer/config_min_longpress_timeout"
186 latin:maxValue="@integer/config_max_longpress_timeout"
187 latin:stepValue="@integer/config_longpress_timeout_step" />
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900188 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
satok43396572011-09-28 20:11:05 +0900189 android:key="pref_vibration_duration_settings"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900190 android:title="@string/prefs_keypress_vibration_duration_settings"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900191 latin:maxValue="@integer/config_max_vibration_duration" />
Ken Wakasaa7d2fc62013-07-22 12:43:37 +0900192 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
satok79c0acf2011-10-11 16:39:11 +0900193 android:key="pref_keypress_sound_volume"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900194 android:title="@string/prefs_keypress_sound_volume_settings"
195 latin:maxValue="100" /> <!-- percent -->
Tadashi G. Takaoka864aeb12013-04-23 15:42:32 +0900196 <!-- The settigs for showing setup wizard application icon shouldn't be persistent and
197 the default value is added programmatically. -->
Tadashi G. Takaoka2e1b55f2013-03-05 12:54:13 +0900198 <CheckBoxPreference
199 android:key="pref_show_setup_wizard_icon"
Tadashi G. Takaoka864aeb12013-04-23 15:42:32 +0900200 android:title="@string/show_setup_wizard_icon"
201 android:summary="@string/show_setup_wizard_icon_summary" />
satokc9c54a82011-09-14 14:07:10 +0900202 </PreferenceScreen>
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900203 <PreferenceScreen
Satoshi Kataokaa462cd82013-03-19 16:49:19 +0900204 android:key="send_feedback"
205 android:title="@string/send_feedback" />
206 <PreferenceScreen
Satoshi Kataoka9b4e3db2013-04-22 18:00:59 +0900207 android:key="about_keyboard" />
208 <PreferenceScreen
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900209 android:key="debug_settings"
210 android:title="Debug settings"
211 android:persistent="true"
212 android:defaultValue="false" />
Jean Chalardb5059122011-04-22 13:08:35 +0900213 </PreferenceCategory>
satokb1ae5d82011-04-19 21:52:12 -0700214</PreferenceScreen>