blob: 22ae51dd5cbde0abc9978268b038c50c3a9374af [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" />
Jean Chalardce9c4172011-01-19 15:07:14 +090045 <ListPreference
satok8f9b86f2011-04-01 19:31:30 +090046 android:key="voice_mode"
47 android:title="@string/voice_input"
48 android:persistent="true"
49 android:entryValues="@array/voice_input_modes_values"
50 android:entries="@array/voice_input_modes"
51 android:defaultValue="@string/voice_mode_main" />
Jean Chalardce9c4172011-01-19 15:07:14 +090052 </PreferenceCategory>
The Android Open Source Project923bf412009-03-13 15:11:42 -070053 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090054 android:title="@string/correction_category"
55 android:key="correction_settings">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090056 <PreferenceScreen
57 android:key="configure_dictionaries_key"
58 android:title="@string/configure_dictionaries_title">
59 <intent
60 android:action="android.intent.action.MAIN"
Jean Chalard3c3b3c82013-02-22 21:24:15 -080061 android:targetClass="@string/dictionary_pack_settings_activity">
62 <extra
63 android:name="clientId"
64 android:value="@string/dictionary_pack_client_id" />
65 </intent>
Jean Chalard4f3d5d32011-06-24 20:17:38 +090066 </PreferenceScreen>
satok7599cfe2010-11-13 19:09:30 +090067 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090068 android:key="auto_correction_threshold"
69 android:title="@string/auto_correction"
70 android:summary="@string/auto_correction_summary"
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +090071 android:persistent="true"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090072 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090073 android:entries="@array/auto_correction_threshold_modes"
satok8f9b86f2011-04-01 19:31:30 +090074 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" />
Jean Chalard89764ad2011-01-19 17:44:39 +090075 <ListPreference
76 android:key="show_suggestions_setting"
77 android:summary="@string/prefs_show_suggestions_summary"
78 android:title="@string/prefs_show_suggestions"
79 android:persistent="true"
80 android:entryValues="@array/prefs_suggestion_visibility_values"
81 android:entries="@array/prefs_suggestion_visibilities"
satok8f9b86f2011-04-01 19:31:30 +090082 android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
Jean Chalardb5059122011-04-22 13:08:35 +090083 </PreferenceCategory>
84 <PreferenceCategory
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090085 android:title="@string/gesture_typing_category"
86 android:key="gesture_typing_settings">
87 <CheckBoxPreference
88 android:key="gesture_input"
89 android:title="@string/gesture_input"
90 android:summary="@string/gesture_input_summary"
91 android:persistent="true"
92 android:defaultValue="true" />
Tadashi G. Takaoka4f5f81d2013-04-11 15:54:38 +090093 <!-- TODO: Move these two options to the advanced settings. -->
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090094 <CheckBoxPreference
Tadashi G. Takaoka15281ad2012-10-02 10:30:03 +090095 android:key="pref_gesture_floating_preview_text"
Tadashi G. Takaoka29105a72013-04-15 15:07:20 +090096 android:dependency="gesture_input"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090097 android:title="@string/gesture_floating_preview_text"
98 android:summary="@string/gesture_floating_preview_text_summary"
99 android:persistent="true"
Tadashi G. Takaoka15281ad2012-10-02 10:30:03 +0900100 android:defaultValue="true" />
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900101 <CheckBoxPreference
102 android:key="pref_gesture_preview_trail"
Tadashi G. Takaoka29105a72013-04-15 15:07:20 +0900103 android:dependency="gesture_input"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +0900104 android:title="@string/gesture_preview_trail"
105 android:persistent="true"
106 android:defaultValue="true" />
107 </PreferenceCategory>
108 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +0900109 android:title="@string/misc_category"
110 android:key="misc_settings">
satokc9c54a82011-09-14 14:07:10 +0900111 <CheckBoxPreference
Jean Chalarde9e51ca2012-06-19 11:27:10 -0700112 android:key="next_word_prediction"
113 android:title="@string/bigram_prediction"
114 android:summary="@string/bigram_prediction_summary"
115 android:persistent="true"
116 android:defaultValue="true" />
satokc9c54a82011-09-14 14:07:10 +0900117 <PreferenceScreen
118 android:key="pref_advanced_settings"
119 android:title="@string/advanced_settings"
120 android:summary="@string/advanced_settings_summary">
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800121 <CheckBoxPreference
Tadashi G. Takaoka47e2bf32012-07-27 15:32:29 +0900122 android:key="pref_key_use_contacts_dict"
123 android:title="@string/use_contacts_dict"
124 android:summary="@string/use_contacts_dict_summary"
125 android:persistent="true"
126 android:defaultValue="true" />
127 <CheckBoxPreference
Ken Wakasa139bd83f2012-12-04 15:24:55 +0900128 android:key="pref_key_use_double_space_period"
129 android:title="@string/use_double_space_period"
130 android:summary="@string/use_double_space_period_summary"
131 android:persistent="true"
132 android:defaultValue="true" />
133 <CheckBoxPreference
Tadashi G. Takaoka1a4aa7e2012-09-20 10:32:56 +0900134 android:key="pref_show_language_switch_key"
135 android:title="@string/show_language_switch_key"
136 android:summary="@string/show_language_switch_key_summary"
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800137 android:persistent="true"
Tadashi G. Takaoka1a4aa7e2012-09-20 10:32:56 +0900138 android:defaultValue="true" />
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800139 <CheckBoxPreference
140 android:key="pref_include_other_imes_in_language_switch_list"
141 android:title="@string/include_other_imes_in_language_switch_list"
142 android:summary="@string/include_other_imes_in_language_switch_list_summary"
143 android:persistent="true"
144 android:defaultValue="false" />
Tadashi G. Takaoka2e1b55f2013-03-05 12:54:13 +0900145 <!-- Values for popup dismiss delay are added programmatically -->
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +0900146 <CheckBoxPreference
147 android:key="pref_sliding_key_input_preview"
148 android:title="@string/sliding_key_input_preview"
Tadashi G. Takaoka84106a72013-01-29 17:37:31 +0900149 android:summary="@string/sliding_key_input_preview_summary"
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +0900150 android:persistent="true"
151 android:defaultValue="true" />
Tadashi G. Takaoka4f5f81d2013-04-11 15:54:38 +0900152 <PreferenceScreen
153 android:fragment="com.android.inputmethod.latin.AdditionalSubtypeSettings"
154 android:key="custom_input_styles"
155 android:title="@string/custom_input_styles_title" />
satokc9c54a82011-09-14 14:07:10 +0900156 <ListPreference
157 android:key="pref_key_preview_popup_dismiss_delay"
158 android:title="@string/key_preview_popup_dismiss_delay" />
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900159 <com.android.inputmethod.latin.SeekBarDialogPreference
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +0900160 android:key="pref_key_longpress_timeout"
161 android:title="@string/prefs_key_longpress_timeout_settings"
162 latin:valueFormatText="@string/abbreviation_unit_milliseconds"
163 latin:minValue="@integer/config_min_longpress_timeout"
164 latin:maxValue="@integer/config_max_longpress_timeout"
165 latin:stepValue="@integer/config_longpress_timeout_step" />
166 <com.android.inputmethod.latin.SeekBarDialogPreference
satok43396572011-09-28 20:11:05 +0900167 android:key="pref_vibration_duration_settings"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900168 android:title="@string/prefs_keypress_vibration_duration_settings"
169 latin:valueFormatText="@string/abbreviation_unit_milliseconds"
170 latin:maxValue="@integer/config_max_vibration_duration" />
171 <com.android.inputmethod.latin.SeekBarDialogPreference
satok79c0acf2011-10-11 16:39:11 +0900172 android:key="pref_keypress_sound_volume"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900173 android:title="@string/prefs_keypress_sound_volume_settings"
174 latin:maxValue="100" /> <!-- percent -->
Tadashi G. Takaoka2e1b55f2013-03-05 12:54:13 +0900175 <!-- The show setup wizard icon settings shouldn't be persistent and the default value
176 is added programmatically. -->
177 <CheckBoxPreference
178 android:key="pref_show_setup_wizard_icon"
179 android:title="@string/show_setup_wizard_icon" />
satokc9c54a82011-09-14 14:07:10 +0900180 </PreferenceScreen>
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900181 <PreferenceScreen
Satoshi Kataokaa462cd82013-03-19 16:49:19 +0900182 android:key="send_feedback"
183 android:title="@string/send_feedback" />
184 <PreferenceScreen
Satoshi Kataoka9b4e3db2013-04-22 18:00:59 +0900185 android:key="about_keyboard" />
186 <PreferenceScreen
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900187 android:key="debug_settings"
188 android:title="Debug settings"
189 android:persistent="true"
190 android:defaultValue="false" />
Jean Chalardb5059122011-04-22 13:08:35 +0900191 </PreferenceCategory>
satokb1ae5d82011-04-19 21:52:12 -0700192</PreferenceScreen>