blob: e71d9517c25dd8eba277a9bf2384dc063822b71d [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. Takaoka058c6c62014-06-19 17:47:11 -070021 <PreferenceScreen
22 android:title="@string/settings_screen_input"
23 android:key="screen_input">
Ken Wakasae6a57bc2014-06-23 11:18:50 +000024 <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"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070028 android:defaultValue="true"
29 android:persistent="true" />
30 <CheckBoxPreference
31 android:key="pref_key_use_double_space_period"
32 android:title="@string/use_double_space_period"
33 android:summary="@string/use_double_space_period_summary"
34 android:defaultValue="true"
35 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +000036 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090037 android:key="vibrate_on"
38 android:title="@string/vibrate_on_keypress"
Ken Wakasae6a57bc2014-06-23 11:18:50 +000039 android:defaultValue="@bool/config_default_vibration_enabled"
40 android:persistent="true" />
41 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090042 android:key="sound_on"
43 android:title="@string/sound_on_keypress"
Ken Wakasae6a57bc2014-06-23 11:18:50 +000044 android:defaultValue="@bool/config_default_sound_enabled"
45 android:persistent="true" />
46 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090047 android:key="popup_on"
48 android:title="@string/popup_on_keypress"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070049 android:defaultValue="@bool/config_default_key_preview_popup"
50 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +000051 <CheckBoxPreference
Satoshi Kataoka21a89c12013-09-05 15:46:04 +090052 android:key="pref_voice_input_key"
satok8f9b86f2011-04-01 19:31:30 +090053 android:title="@string/voice_input"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070054 android:defaultValue="true"
55 android:persistent="true" />
56 </PreferenceScreen>
57 <ListPreference
58 android:key="pref_keyboard_theme"
59 android:title="@string/keyboard_theme"
60 android:entryValues="@array/keyboard_theme_ids"
61 android:entries="@array/keyboard_theme_names"
62 android:persistent="true" />
63 <PreferenceScreen
64 android:title="@string/settings_screen_multi_lingual"
65 android:key="screen_multi_lingual">
66 <CheckBoxPreference
67 android:key="pref_show_language_switch_key"
68 android:title="@string/show_language_switch_key"
69 android:summary="@string/show_language_switch_key_summary"
70 android:defaultValue="true"
71 android:persistent="true" />
72 <CheckBoxPreference
73 android:key="pref_include_other_imes_in_language_switch_list"
74 android:dependency="pref_show_language_switch_key"
75 android:title="@string/include_other_imes_in_language_switch_list"
76 android:summary="@string/include_other_imes_in_language_switch_list_summary"
77 android:defaultValue="false"
78 android:persistent="true" />
79 <PreferenceScreen
80 android:fragment="com.android.inputmethod.latin.settings.AdditionalSubtypeSettings"
81 android:key="custom_input_styles"
82 android:title="@string/custom_input_styles_title" />
83 </PreferenceScreen>
84 <PreferenceScreen
85 android:title="@string/settings_screen_gesture"
86 android:key="screen_gesture">
87 <CheckBoxPreference
88 android:key="gesture_input"
89 android:title="@string/gesture_input"
90 android:summary="@string/gesture_input_summary"
91 android:defaultValue="true"
92 android:persistent="true" />
93 <CheckBoxPreference
94 android:key="pref_gesture_floating_preview_text"
95 android:dependency="gesture_input"
96 android:title="@string/gesture_floating_preview_text"
97 android:summary="@string/gesture_floating_preview_text_summary"
98 android:defaultValue="true"
99 android:persistent="true" />
100 <CheckBoxPreference
101 android:key="pref_gesture_preview_trail"
102 android:dependency="gesture_input"
103 android:title="@string/gesture_preview_trail"
104 android:defaultValue="true"
105 android:persistent="true" />
106 </PreferenceScreen>
107 <PreferenceScreen
108 android:title="@string/settings_screen_correction"
109 android:key="screen_correction">
Jean Chalard4f3d5d32011-06-24 20:17:38 +0900110 <PreferenceScreen
Tadashi G. Takaoka4f253532013-04-15 18:46:57 +0900111 android:key="edit_personal_dictionary"
112 android:title="@string/edit_personal_dictionary">
113 <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" />
114 </PreferenceScreen>
115 <PreferenceScreen
Jean Chalard4f3d5d32011-06-24 20:17:38 +0900116 android:key="configure_dictionaries_key"
117 android:title="@string/configure_dictionaries_title">
118 <intent
119 android:action="android.intent.action.MAIN"
Jean Chalard3c3b3c82013-02-22 21:24:15 -0800120 android:targetClass="@string/dictionary_pack_settings_activity">
121 <extra
122 android:name="clientId"
123 android:value="@string/dictionary_pack_client_id" />
124 </intent>
Jean Chalard4f3d5d32011-06-24 20:17:38 +0900125 </PreferenceScreen>
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000126 <CheckBoxPreference
Jean Chalardd361dc82013-04-23 12:37:21 +0900127 android:key="pref_key_block_potentially_offensive"
128 android:title="@string/prefs_block_potentially_offensive_title"
129 android:summary="@string/prefs_block_potentially_offensive_summary"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700130 android:defaultValue="@bool/config_block_potentially_offensive"
131 android:persistent="true" />
satok7599cfe2010-11-13 19:09:30 +0900132 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +0900133 android:key="auto_correction_threshold"
134 android:title="@string/auto_correction"
135 android:summary="@string/auto_correction_summary"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +0900136 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +0900137 android:entries="@array/auto_correction_threshold_modes"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700138 android:defaultValue="@string/auto_correction_threshold_mode_index_modest"
139 android:persistent="true" />
Jean Chalard89764ad2011-01-19 17:44:39 +0900140 <ListPreference
141 android:key="show_suggestions_setting"
142 android:summary="@string/prefs_show_suggestions_summary"
143 android:title="@string/prefs_show_suggestions"
Jean Chalard89764ad2011-01-19 17:44:39 +0900144 android:entryValues="@array/prefs_suggestion_visibility_values"
145 android:entries="@array/prefs_suggestion_visibilities"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700146 android:defaultValue="@string/prefs_suggestion_visibility_default_value"
147 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000148 <CheckBoxPreference
Tadashi G. Takaokac2ba73a2014-02-20 06:02:26 +0000149 android:key="pref_key_use_personalized_dicts"
Keisuke Kuroyanagi0a8e3072013-12-17 21:01:06 +0900150 android:title="@string/use_personalized_dicts"
151 android:summary="@string/use_personalized_dicts_summary"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700152 android:defaultValue="true"
153 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000154 <CheckBoxPreference
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700155 android:key="pref_key_use_contacts_dict"
156 android:title="@string/use_contacts_dict"
157 android:summary="@string/use_contacts_dict_summary"
158 android:defaultValue="true"
159 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000160 <CheckBoxPreference
Jean Chalarde9e51ca2012-06-19 11:27:10 -0700161 android:key="next_word_prediction"
162 android:title="@string/bigram_prediction"
163 android:summary="@string/bigram_prediction_summary"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700164 android:defaultValue="true"
165 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000166 </PreferenceScreen>
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700167 <PreferenceScreen
168 android:title="@string/settings_screen_advanced"
169 android:key="screen_advanced">
170 <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. -->
171 <ListPreference
172 android:key="pref_key_preview_popup_dismiss_delay"
173 android:title="@string/key_preview_popup_dismiss_delay" />
174 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
175 android:key="pref_vibration_duration_settings"
176 android:title="@string/prefs_keypress_vibration_duration_settings"
177 latin:maxValue="@integer/config_max_vibration_duration" />
178 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
179 android:key="pref_keypress_sound_volume"
180 android:title="@string/prefs_keypress_sound_volume_settings"
181 latin:maxValue="100" /> <!-- percent -->
182 <!-- The settigs for showing setup wizard application icon shouldn't be persistent and
183 the default value is added programmatically. -->
184 <CheckBoxPreference
185 android:key="pref_show_setup_wizard_icon"
186 android:title="@string/show_setup_wizard_icon"
187 android:summary="@string/show_setup_wizard_icon_summary" />
188 <!-- title will be set programmatically to embed application name -->
189 <CheckBoxPreference
190 android:key="pref_enable_metrics_logging"
191 android:summary="@string/enable_metrics_logging_summary"
192 android:defaultValue="true"
193 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000194 <PreferenceScreen
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700195 android:key="screen_debug"
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900196 android:title="Debug settings"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700197 android:defaultValue="false"
198 android:persistent="true" />
199 </PreferenceScreen>
satokb1ae5d82011-04-19 21:52:12 -0700200</PreferenceScreen>