blob: cb951d264866c4a6ff0e7ab9100d7d83d1a915a5 [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">
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070021 <PreferenceScreen
22 android:title="@string/settings_screen_input"
23 android:key="screen_input">
24 <SwitchPreference
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"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070028 android:switchTextOn=""
29 android:switchTextOff=""
satok8f9b86f2011-04-01 19:31:30 +090030 android:persistent="true"
31 android:defaultValue="true" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070032 <SwitchPreference
33 android:key="pref_key_use_double_space_period"
34 android:title="@string/use_double_space_period"
35 android:summary="@string/use_double_space_period_summary"
36 android:switchTextOn=""
37 android:switchTextOff=""
38 android:persistent="true"
39 android:defaultValue="true" />
40 <SwitchPreference
satok8f9b86f2011-04-01 19:31:30 +090041 android:key="vibrate_on"
42 android:title="@string/vibrate_on_keypress"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070043 android:switchTextOn=""
44 android:switchTextOff=""
45 android:persistent="true"
46 android:defaultValue="@bool/config_default_vibration_enabled" />
47 <SwitchPreference
satok8f9b86f2011-04-01 19:31:30 +090048 android:key="sound_on"
49 android:title="@string/sound_on_keypress"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070050 android:switchTextOn=""
51 android:switchTextOff=""
52 android:persistent="true"
53 android:defaultValue="@bool/config_default_sound_enabled" />
54 <SwitchPreference
satok8f9b86f2011-04-01 19:31:30 +090055 android:key="popup_on"
56 android:title="@string/popup_on_keypress"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070057 android:switchTextOn=""
58 android:switchTextOff=""
satok8f9b86f2011-04-01 19:31:30 +090059 android:persistent="true"
Tadashi G. Takaokace875662013-01-22 13:29:30 +090060 android:defaultValue="@bool/config_default_key_preview_popup" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070061 <SwitchPreference
Satoshi Kataoka21a89c12013-09-05 15:46:04 +090062 android:key="pref_voice_input_key"
satok8f9b86f2011-04-01 19:31:30 +090063 android:title="@string/voice_input"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070064 android:switchTextOn=""
65 android:switchTextOff=""
satok8f9b86f2011-04-01 19:31:30 +090066 android:persistent="true"
Satoshi Kataoka21a89c12013-09-05 15:46:04 +090067 android:defaultValue="true" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -070068 </PreferenceScreen>
69 <ListPreference
70 android:key="pref_keyboard_theme"
71 android:title="@string/keyboard_theme"
72 android:persistent="true"
73 android:entryValues="@array/keyboard_theme_ids"
74 android:entries="@array/keyboard_theme_names" />
75 <PreferenceScreen
76 android:title="@string/settings_screen_multi_lingual"
77 android:key="screen_multi_lingual">
78 <SwitchPreference
79 android:key="pref_show_language_switch_key"
80 android:title="@string/show_language_switch_key"
81 android:summary="@string/show_language_switch_key_summary"
82 android:switchTextOn=""
83 android:switchTextOff=""
84 android:persistent="true"
85 android:defaultValue="true" />
86 <SwitchPreference
87 android:key="pref_include_other_imes_in_language_switch_list"
88 android:dependency="pref_show_language_switch_key"
89 android:title="@string/include_other_imes_in_language_switch_list"
90 android:summary="@string/include_other_imes_in_language_switch_list_summary"
91 android:switchTextOn=""
92 android:switchTextOff=""
93 android:persistent="true"
94 android:defaultValue="false" />
95 <PreferenceScreen
96 android:fragment="com.android.inputmethod.latin.settings.AdditionalSubtypeSettings"
97 android:key="custom_input_styles"
98 android:title="@string/custom_input_styles_title" />
99 </PreferenceScreen>
100 <PreferenceScreen
101 android:title="@string/settings_screen_gesture"
102 android:key="screen_gesture">
103 <SwitchPreference
104 android:key="gesture_input"
105 android:title="@string/gesture_input"
106 android:summary="@string/gesture_input_summary"
107 android:switchTextOn=""
108 android:switchTextOff=""
109 android:persistent="true"
110 android:defaultValue="true" />
111 <SwitchPreference
112 android:key="pref_gesture_floating_preview_text"
113 android:dependency="gesture_input"
114 android:title="@string/gesture_floating_preview_text"
115 android:summary="@string/gesture_floating_preview_text_summary"
116 android:switchTextOn=""
117 android:switchTextOff=""
118 android:persistent="true"
119 android:defaultValue="true" />
120 <SwitchPreference
121 android:key="pref_gesture_preview_trail"
122 android:dependency="gesture_input"
123 android:title="@string/gesture_preview_trail"
124 android:switchTextOn=""
125 android:switchTextOff=""
126 android:persistent="true"
127 android:defaultValue="true" />
128 </PreferenceScreen>
129 <PreferenceScreen
130 android:title="@string/settings_screen_correction"
131 android:key="screen_correction">
Jean Chalard4f3d5d32011-06-24 20:17:38 +0900132 <PreferenceScreen
Tadashi G. Takaoka4f253532013-04-15 18:46:57 +0900133 android:key="edit_personal_dictionary"
134 android:title="@string/edit_personal_dictionary">
135 <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" />
136 </PreferenceScreen>
137 <PreferenceScreen
Jean Chalard4f3d5d32011-06-24 20:17:38 +0900138 android:key="configure_dictionaries_key"
139 android:title="@string/configure_dictionaries_title">
140 <intent
141 android:action="android.intent.action.MAIN"
Jean Chalard3c3b3c82013-02-22 21:24:15 -0800142 android:targetClass="@string/dictionary_pack_settings_activity">
143 <extra
144 android:name="clientId"
145 android:value="@string/dictionary_pack_client_id" />
146 </intent>
Jean Chalard4f3d5d32011-06-24 20:17:38 +0900147 </PreferenceScreen>
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700148 <SwitchPreference
Jean Chalardd361dc82013-04-23 12:37:21 +0900149 android:key="pref_key_block_potentially_offensive"
150 android:title="@string/prefs_block_potentially_offensive_title"
151 android:summary="@string/prefs_block_potentially_offensive_summary"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700152 android:switchTextOn=""
153 android:switchTextOff=""
Jean Chalardd361dc82013-04-23 12:37:21 +0900154 android:persistent="true"
155 android:defaultValue="@bool/config_block_potentially_offensive" />
satok7599cfe2010-11-13 19:09:30 +0900156 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +0900157 android:key="auto_correction_threshold"
158 android:title="@string/auto_correction"
159 android:summary="@string/auto_correction_summary"
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +0900160 android:persistent="true"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +0900161 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +0900162 android:entries="@array/auto_correction_threshold_modes"
satok8f9b86f2011-04-01 19:31:30 +0900163 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" />
Jean Chalard89764ad2011-01-19 17:44:39 +0900164 <ListPreference
165 android:key="show_suggestions_setting"
166 android:summary="@string/prefs_show_suggestions_summary"
167 android:title="@string/prefs_show_suggestions"
168 android:persistent="true"
169 android:entryValues="@array/prefs_suggestion_visibility_values"
170 android:entries="@array/prefs_suggestion_visibilities"
satok8f9b86f2011-04-01 19:31:30 +0900171 android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700172 <SwitchPreference
Tadashi G. Takaokac2ba73a2014-02-20 06:02:26 +0000173 android:key="pref_key_use_personalized_dicts"
Keisuke Kuroyanagi0a8e3072013-12-17 21:01:06 +0900174 android:title="@string/use_personalized_dicts"
175 android:summary="@string/use_personalized_dicts_summary"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700176 android:switchTextOn=""
177 android:switchTextOff=""
Keisuke Kuroyanagi0a8e3072013-12-17 21:01:06 +0900178 android:persistent="true"
Tadashi G. Takaokac2ba73a2014-02-20 06:02:26 +0000179 android:defaultValue="true" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700180 <SwitchPreference
181 android:key="pref_key_use_contacts_dict"
182 android:title="@string/use_contacts_dict"
183 android:summary="@string/use_contacts_dict_summary"
184 android:switchTextOn=""
185 android:switchTextOff=""
Yohei Yukawa28c7b262014-06-03 17:40:24 +0900186 android:persistent="true"
187 android:defaultValue="true" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700188 <SwitchPreference
Jean Chalarde9e51ca2012-06-19 11:27:10 -0700189 android:key="next_word_prediction"
190 android:title="@string/bigram_prediction"
191 android:summary="@string/bigram_prediction_summary"
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700192 android:switchTextOn=""
193 android:switchTextOff=""
194 android:persistent="true"
195 android:defaultValue="true" />
196 </PreferenceScreen>
197 <PreferenceScreen
198 android:title="@string/settings_screen_advanced"
199 android:key="screen_advanced">
200 <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. -->
201 <ListPreference
202 android:key="pref_key_preview_popup_dismiss_delay"
203 android:title="@string/key_preview_popup_dismiss_delay" />
204 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
205 android:key="pref_vibration_duration_settings"
206 android:title="@string/prefs_keypress_vibration_duration_settings"
207 latin:maxValue="@integer/config_max_vibration_duration" />
208 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
209 android:key="pref_keypress_sound_volume"
210 android:title="@string/prefs_keypress_sound_volume_settings"
211 latin:maxValue="100" /> <!-- percent -->
212 <!-- The settigs for showing setup wizard application icon shouldn't be persistent and
213 the default value is added programmatically. -->
214 <SwitchPreference
215 android:key="pref_show_setup_wizard_icon"
216 android:title="@string/show_setup_wizard_icon"
217 android:summary="@string/show_setup_wizard_icon_summary"
218 android:switchTextOn=""
219 android:switchTextOff="" />
220 <!-- title will be set programmatically to embed application name -->
221 <SwitchPreference
222 android:key="pref_enable_metrics_logging"
223 android:summary="@string/enable_metrics_logging_summary"
224 android:switchTextOn=""
225 android:switchTextOff=""
Jean Chalarde9e51ca2012-06-19 11:27:10 -0700226 android:persistent="true"
227 android:defaultValue="true" />
satokc9c54a82011-09-14 14:07:10 +0900228 <PreferenceScreen
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700229 android:key="screen_debug"
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900230 android:title="Debug settings"
231 android:persistent="true"
232 android:defaultValue="false" />
Tadashi G. Takaoka339929b2014-06-19 17:47:11 -0700233 </PreferenceScreen>
satokb1ae5d82011-04-19 21:52:12 -0700234</PreferenceScreen>