blob: d02e5d7b63ce8cf0e533f7e08ba386b45ba1ca1a [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"
19 android:title="@string/english_ime_settings"
20 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">
satokc3f4d552011-07-09 10:14:05 +090024 <PreferenceScreen
25 android:key="subtype_settings"
26 android:title="@string/language_selection_title" />
Jean Chalardce9c4172011-01-19 15:07:14 +090027 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090028 android:key="auto_cap"
29 android:title="@string/auto_cap"
30 android:persistent="true"
31 android:defaultValue="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090032 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090033 android:key="vibrate_on"
34 android:title="@string/vibrate_on_keypress"
35 android:persistent="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090036 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090037 android:key="sound_on"
38 android:title="@string/sound_on_keypress"
39 android:defaultValue="@bool/config_default_sound_enabled"
40 android:persistent="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090041 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090042 android:key="popup_on"
43 android:title="@string/popup_on_keypress"
44 android:persistent="true"
45 android:defaultValue="@bool/config_default_popup_preview" />
Jean Chalardce9c4172011-01-19 15:07:14 +090046 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090047 android:key="recorrection_enabled"
48 android:title="@string/prefs_enable_recorrection"
49 android:summary="@string/prefs_enable_recorrection_summary"
50 android:persistent="true"
Jean Chalard7674f862011-08-15 14:49:38 +090051 android:defaultValue="@bool/config_default_compat_recorrection_enabled" />
Ken Wakasa2ba975a2011-07-30 10:19:51 +090052 <CheckBoxPreference
53 android:key="show_settings_key"
satok8f9b86f2011-04-01 19:31:30 +090054 android:title="@string/prefs_settings_key"
55 android:persistent="true"
Ken Wakasaf84107c2011-08-12 18:59:16 +090056 android:defaultValue="@bool/config_default_show_settings_key" />
Jean Chalardce9c4172011-01-19 15:07:14 +090057 <ListPreference
satok8f9b86f2011-04-01 19:31:30 +090058 android:key="voice_mode"
59 android:title="@string/voice_input"
60 android:persistent="true"
61 android:entryValues="@array/voice_input_modes_values"
62 android:entries="@array/voice_input_modes"
63 android:defaultValue="@string/voice_mode_main" />
Jean Chalardce9c4172011-01-19 15:07:14 +090064 </PreferenceCategory>
The Android Open Source Project923bf412009-03-13 15:11:42 -070065 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090066 android:title="@string/correction_category"
67 android:key="correction_settings">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090068 <PreferenceScreen
69 android:key="configure_dictionaries_key"
70 android:title="@string/configure_dictionaries_title">
71 <intent
72 android:action="android.intent.action.MAIN"
Jean Chalard4ef448a2011-08-11 21:48:59 +090073 android:targetPackage="@string/dictionary_pack_package_name"
74 android:targetClass="@string/dictionary_pack_settings_activity" />
Jean Chalard4f3d5d32011-06-24 20:17:38 +090075 </PreferenceScreen>
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" />
Jean Chalardb5059122011-04-22 13:08:35 +090092 </PreferenceCategory>
93 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090094 android:title="@string/misc_category"
95 android:key="misc_settings">
96 <CheckBoxPreference
97 android:key="usability_study_mode"
98 android:title="@string/prefs_usability_study_mode"
99 android:persistent="true"
100 android:defaultValue="false" />
101 <CheckBoxPreference
102 android:key="enable_logging"
103 android:title="@string/prefs_enable_log"
104 android:summary="@string/prefs_description_log"
105 android:persistent="true"
106 android:defaultValue="true" />
107 <ListPreference
108 android:key="pref_keyboard_layout_20100902"
109 android:title="@string/keyboard_layout"
110 android:persistent="true"
111 android:entryValues="@array/keyboard_layout_modes_values"
112 android:entries="@array/keyboard_layout_modes"
113 android:defaultValue="@string/config_default_keyboard_theme_id" />
114 </PreferenceCategory>
Jean Chalard240297d2011-05-11 20:51:07 +0900115 <PreferenceScreen
116 android:key="pref_advanced_settings"
117 android:title="@string/advanced_settings"
118 android:summary="@string/advanced_settings_summary">
119 <!-- Values for popup dismiss delay are added programatically -->
120 <ListPreference
121 android:key="pref_key_preview_popup_dismiss_delay"
122 android:title="@string/key_preview_popup_dismiss_delay" />
Jean Chalard699094f2011-06-10 18:16:21 +0900123 <CheckBoxPreference
124 android:key="pref_key_use_contacts_dict"
125 android:title="@string/use_contacts_dict"
126 android:summary="@string/use_contacts_dict_summary"
127 android:persistent="true"
128 android:defaultValue="true" />
Jean Chalard18ccd552011-08-31 15:41:13 +0900129 <CheckBoxPreference
130 android:key="bigram_suggestion"
131 android:title="@string/bigram_suggestion"
132 android:summary="@string/bigram_suggestion_summary"
133 android:persistent="true"
134 android:defaultValue="true" />
Jean Chalard15315282011-09-02 14:09:10 +0900135 <CheckBoxPreference
136 android:key="enable_span_insert"
137 android:title="@string/enable_span_insert"
138 android:summary="@string/enable_span_insert_summary"
139 android:persistent="true"
140 android:defaultValue="true" />
Jean Chalard18ccd552011-08-31 15:41:13 +0900141 <!-- TODO: evaluate results and revive this option. The code already supports it. -->
142 <!-- <CheckBoxPreference -->
143 <!-- android:key="bigram_prediction" -->
144 <!-- android:dependency="bigram_suggestion" -->
145 <!-- android:title="@string/bigram_prediction" -->
146 <!-- android:summary="@string/bigram_prediction_summary" -->
147 <!-- android:persistent="true" -->
148 <!-- android:defaultValue="false" /> -->
Jean Chalard240297d2011-05-11 20:51:07 +0900149 </PreferenceScreen>
satok39144ca2011-04-20 11:42:55 +0900150 <!-- <Preference
satok8f9b86f2011-04-01 19:31:30 +0900151 android:title="Debug Settings"
152 android:key="debug_settings">
153 <intent
154 android:action="android.intent.action.MAIN"
155 android:targetPackage="com.android.inputmethod.latin"
156 android:targetClass="com.android.inputmethod.latin.DebugSettings" />
satok39144ca2011-04-20 11:42:55 +0900157 </Preference>-->
satokb1ae5d82011-04-19 21:52:12 -0700158</PreferenceScreen>