blob: 0bf117b30d287a392a7527f63bdc8398b5370aae [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"
51 android:defaultValue="@bool/config_default_recorrection_enabled" />
Jean Chalardce9c4172011-01-19 15:07:14 +090052 <ListPreference
satok8f9b86f2011-04-01 19:31:30 +090053 android:key="settings_key"
54 android:title="@string/prefs_settings_key"
55 android:persistent="true"
56 android:entryValues="@array/settings_key_modes_values"
57 android:entries="@array/settings_key_modes"
58 android:defaultValue="@string/settings_key_mode_auto" />
Jean Chalardce9c4172011-01-19 15:07:14 +090059 <ListPreference
satok8f9b86f2011-04-01 19:31:30 +090060 android:key="voice_mode"
61 android:title="@string/voice_input"
62 android:persistent="true"
63 android:entryValues="@array/voice_input_modes_values"
64 android:entries="@array/voice_input_modes"
65 android:defaultValue="@string/voice_mode_main" />
Jean Chalardce9c4172011-01-19 15:07:14 +090066 </PreferenceCategory>
The Android Open Source Project923bf412009-03-13 15:11:42 -070067 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090068 android:title="@string/correction_category"
69 android:key="correction_settings">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090070 <PreferenceScreen
71 android:key="configure_dictionaries_key"
72 android:title="@string/configure_dictionaries_title">
73 <intent
74 android:action="android.intent.action.MAIN"
75 android:targetPackage="com.google.android.inputmethod.latin.dictionarypack"
76 android:targetClass="com.google.android.inputmethod.latin.dictionarypack.DictionarySettings" />
77 </PreferenceScreen>
The Android Open Source Project923bf412009-03-13 15:11:42 -070078 <CheckBoxPreference
Amith Yamasani6e3d4272009-03-25 17:39:38 -070079 android:key="quick_fixes"
80 android:title="@string/quick_fixes"
81 android:summary="@string/quick_fixes_summary"
82 android:persistent="true"
satok8f9b86f2011-04-01 19:31:30 +090083 android:defaultValue="true" />
satok7599cfe2010-11-13 19:09:30 +090084 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090085 android:key="auto_correction_threshold"
86 android:title="@string/auto_correction"
87 android:summary="@string/auto_correction_summary"
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +090088 android:persistent="true"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090089 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090090 android:entries="@array/auto_correction_threshold_modes"
satok8f9b86f2011-04-01 19:31:30 +090091 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" />
Jean Chalard89764ad2011-01-19 17:44:39 +090092 <ListPreference
93 android:key="show_suggestions_setting"
94 android:summary="@string/prefs_show_suggestions_summary"
95 android:title="@string/prefs_show_suggestions"
96 android:persistent="true"
97 android:entryValues="@array/prefs_suggestion_visibility_values"
98 android:entries="@array/prefs_suggestion_visibilities"
satok8f9b86f2011-04-01 19:31:30 +090099 android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
Jean Chalardb5059122011-04-22 13:08:35 +0900100 </PreferenceCategory>
101 <PreferenceCategory
102 android:title="@string/ngram_category"
103 android:key="ngram_settings">
Jae Yong Sung937d5ad2010-06-30 20:28:04 -0700104 <CheckBoxPreference
105 android:key="bigram_suggestion"
106 android:title="@string/bigram_suggestion"
107 android:summary="@string/bigram_suggestion_summary"
108 android:persistent="true"
satok8f9b86f2011-04-01 19:31:30 +0900109 android:defaultValue="true" />
Jean Chalardb5059122011-04-22 13:08:35 +0900110 <CheckBoxPreference
111 android:key="bigram_prediction"
112 android:dependency="bigram_suggestion"
113 android:title="@string/bigram_prediction"
114 android:summary="@string/bigram_prediction_summary"
115 android:persistent="true"
116 android:defaultValue="false" />
satok95175d42010-11-16 07:48:04 +0900117 </PreferenceCategory>
Jean Chalardb5059122011-04-22 13:08:35 +0900118 <PreferenceCategory
119 android:title="@string/misc_category"
120 android:key="misc_settings">
121 <CheckBoxPreference
122 android:key="usability_study_mode"
123 android:title="@string/prefs_usability_study_mode"
124 android:persistent="true"
125 android:defaultValue="false" />
126 <CheckBoxPreference
127 android:key="enable_logging"
128 android:title="@string/prefs_enable_log"
129 android:summary="@string/prefs_description_log"
130 android:persistent="true"
131 android:defaultValue="true" />
132 <ListPreference
133 android:key="pref_keyboard_layout_20100902"
134 android:title="@string/keyboard_layout"
135 android:persistent="true"
136 android:entryValues="@array/keyboard_layout_modes_values"
137 android:entries="@array/keyboard_layout_modes"
138 android:defaultValue="@string/config_default_keyboard_theme_id" />
139 </PreferenceCategory>
Jean Chalard240297d2011-05-11 20:51:07 +0900140 <PreferenceScreen
141 android:key="pref_advanced_settings"
142 android:title="@string/advanced_settings"
143 android:summary="@string/advanced_settings_summary">
144 <!-- Values for popup dismiss delay are added programatically -->
145 <ListPreference
146 android:key="pref_key_preview_popup_dismiss_delay"
147 android:title="@string/key_preview_popup_dismiss_delay" />
Jean Chalard699094f2011-06-10 18:16:21 +0900148 <CheckBoxPreference
149 android:key="pref_key_use_contacts_dict"
150 android:title="@string/use_contacts_dict"
151 android:summary="@string/use_contacts_dict_summary"
152 android:persistent="true"
153 android:defaultValue="true" />
Jean Chalard240297d2011-05-11 20:51:07 +0900154 </PreferenceScreen>
satok39144ca2011-04-20 11:42:55 +0900155 <!-- <Preference
satok8f9b86f2011-04-01 19:31:30 +0900156 android:title="Debug Settings"
157 android:key="debug_settings">
158 <intent
159 android:action="android.intent.action.MAIN"
160 android:targetPackage="com.android.inputmethod.latin"
161 android:targetClass="com.android.inputmethod.latin.DebugSettings" />
satok39144ca2011-04-20 11:42:55 +0900162 </Preference>-->
satokb1ae5d82011-04-19 21:52:12 -0700163</PreferenceScreen>