blob: 2ff82f93d1cc71b29c43bea2a81f7766cf35c453 [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" />
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 Wakasa2ba975a2011-07-30 10:19:51 +090056 android:defaultValue="false" />
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
94 android:title="@string/ngram_category"
95 android:key="ngram_settings">
Jae Yong Sung937d5ad2010-06-30 20:28:04 -070096 <CheckBoxPreference
97 android:key="bigram_suggestion"
98 android:title="@string/bigram_suggestion"
99 android:summary="@string/bigram_suggestion_summary"
100 android:persistent="true"
satok8f9b86f2011-04-01 19:31:30 +0900101 android:defaultValue="true" />
Jean Chalardb5059122011-04-22 13:08:35 +0900102 <CheckBoxPreference
103 android:key="bigram_prediction"
104 android:dependency="bigram_suggestion"
105 android:title="@string/bigram_prediction"
106 android:summary="@string/bigram_prediction_summary"
107 android:persistent="true"
108 android:defaultValue="false" />
satok95175d42010-11-16 07:48:04 +0900109 </PreferenceCategory>
Jean Chalardb5059122011-04-22 13:08:35 +0900110 <PreferenceCategory
111 android:title="@string/misc_category"
112 android:key="misc_settings">
113 <CheckBoxPreference
114 android:key="usability_study_mode"
115 android:title="@string/prefs_usability_study_mode"
116 android:persistent="true"
117 android:defaultValue="false" />
118 <CheckBoxPreference
119 android:key="enable_logging"
120 android:title="@string/prefs_enable_log"
121 android:summary="@string/prefs_description_log"
122 android:persistent="true"
123 android:defaultValue="true" />
124 <ListPreference
125 android:key="pref_keyboard_layout_20100902"
126 android:title="@string/keyboard_layout"
127 android:persistent="true"
128 android:entryValues="@array/keyboard_layout_modes_values"
129 android:entries="@array/keyboard_layout_modes"
130 android:defaultValue="@string/config_default_keyboard_theme_id" />
131 </PreferenceCategory>
Jean Chalard240297d2011-05-11 20:51:07 +0900132 <PreferenceScreen
133 android:key="pref_advanced_settings"
134 android:title="@string/advanced_settings"
135 android:summary="@string/advanced_settings_summary">
136 <!-- Values for popup dismiss delay are added programatically -->
137 <ListPreference
138 android:key="pref_key_preview_popup_dismiss_delay"
139 android:title="@string/key_preview_popup_dismiss_delay" />
Jean Chalard699094f2011-06-10 18:16:21 +0900140 <CheckBoxPreference
141 android:key="pref_key_use_contacts_dict"
142 android:title="@string/use_contacts_dict"
143 android:summary="@string/use_contacts_dict_summary"
144 android:persistent="true"
145 android:defaultValue="true" />
Jean Chalard240297d2011-05-11 20:51:07 +0900146 </PreferenceScreen>
satok39144ca2011-04-20 11:42:55 +0900147 <!-- <Preference
satok8f9b86f2011-04-01 19:31:30 +0900148 android:title="Debug Settings"
149 android:key="debug_settings">
150 <intent
151 android:action="android.intent.action.MAIN"
152 android:targetPackage="com.android.inputmethod.latin"
153 android:targetClass="com.android.inputmethod.latin.DebugSettings" />
satok39144ca2011-04-20 11:42:55 +0900154 </Preference>-->
satokb1ae5d82011-04-19 21:52:12 -0700155</PreferenceScreen>