blob: 312af28882a3b51c121df3370cfc865d1dee778a [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"
Ken Wakasa37af28d2011-09-20 20:16:11 +090035 android:defaultValue="@bool/config_default_vibration_enabled"
satok8f9b86f2011-04-01 19:31:30 +090036 android:persistent="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090037 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090038 android:key="sound_on"
39 android:title="@string/sound_on_keypress"
40 android:defaultValue="@bool/config_default_sound_enabled"
41 android:persistent="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090042 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090043 android:key="popup_on"
44 android:title="@string/popup_on_keypress"
45 android:persistent="true"
46 android:defaultValue="@bool/config_default_popup_preview" />
Jean Chalardce9c4172011-01-19 15:07:14 +090047 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090048 android:key="recorrection_enabled"
49 android:title="@string/prefs_enable_recorrection"
50 android:summary="@string/prefs_enable_recorrection_summary"
51 android:persistent="true"
Jean Chalard7674f862011-08-15 14:49:38 +090052 android:defaultValue="@bool/config_default_compat_recorrection_enabled" />
Ken Wakasa2ba975a2011-07-30 10:19:51 +090053 <CheckBoxPreference
54 android:key="show_settings_key"
satok8f9b86f2011-04-01 19:31:30 +090055 android:title="@string/prefs_settings_key"
56 android:persistent="true"
Ken Wakasaf84107c2011-08-12 18:59:16 +090057 android:defaultValue="@bool/config_default_show_settings_key" />
Jean Chalardce9c4172011-01-19 15:07:14 +090058 <ListPreference
satok8f9b86f2011-04-01 19:31:30 +090059 android:key="voice_mode"
60 android:title="@string/voice_input"
61 android:persistent="true"
62 android:entryValues="@array/voice_input_modes_values"
63 android:entries="@array/voice_input_modes"
64 android:defaultValue="@string/voice_mode_main" />
Jean Chalardce9c4172011-01-19 15:07:14 +090065 </PreferenceCategory>
The Android Open Source Project923bf412009-03-13 15:11:42 -070066 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090067 android:title="@string/correction_category"
68 android:key="correction_settings">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090069 <PreferenceScreen
70 android:key="configure_dictionaries_key"
71 android:title="@string/configure_dictionaries_title">
72 <intent
73 android:action="android.intent.action.MAIN"
Jean Chalard4ef448a2011-08-11 21:48:59 +090074 android:targetPackage="@string/dictionary_pack_package_name"
75 android:targetClass="@string/dictionary_pack_settings_activity" />
Jean Chalard4f3d5d32011-06-24 20:17:38 +090076 </PreferenceScreen>
satok7599cfe2010-11-13 19:09:30 +090077 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090078 android:key="auto_correction_threshold"
79 android:title="@string/auto_correction"
80 android:summary="@string/auto_correction_summary"
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +090081 android:persistent="true"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090082 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090083 android:entries="@array/auto_correction_threshold_modes"
satok8f9b86f2011-04-01 19:31:30 +090084 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" />
Jean Chalard89764ad2011-01-19 17:44:39 +090085 <ListPreference
86 android:key="show_suggestions_setting"
87 android:summary="@string/prefs_show_suggestions_summary"
88 android:title="@string/prefs_show_suggestions"
89 android:persistent="true"
90 android:entryValues="@array/prefs_suggestion_visibility_values"
91 android:entries="@array/prefs_suggestion_visibilities"
satok8f9b86f2011-04-01 19:31:30 +090092 android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
Jean Chalardb5059122011-04-22 13:08:35 +090093 </PreferenceCategory>
94 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090095 android:title="@string/misc_category"
96 android:key="misc_settings">
satokc9c54a82011-09-14 14:07:10 +090097 <CheckBoxPreference
98 android:key="usability_study_mode"
99 android:title="@string/prefs_usability_study_mode"
100 android:persistent="true"
101 android:defaultValue="false" />
102 <PreferenceScreen
103 android:key="pref_advanced_settings"
104 android:title="@string/advanced_settings"
105 android:summary="@string/advanced_settings_summary">
106 <!-- Values for popup dismiss delay are added programatically -->
107 <ListPreference
108 android:key="pref_key_preview_popup_dismiss_delay"
109 android:title="@string/key_preview_popup_dismiss_delay" />
110 <CheckBoxPreference
111 android:key="pref_key_use_contacts_dict"
112 android:title="@string/use_contacts_dict"
113 android:summary="@string/use_contacts_dict_summary"
114 android:persistent="true"
115 android:defaultValue="true" />
116 <CheckBoxPreference
117 android:key="bigram_suggestion"
118 android:title="@string/bigram_suggestion"
119 android:summary="@string/bigram_suggestion_summary"
120 android:persistent="true"
121 android:defaultValue="true" />
122 <CheckBoxPreference
123 android:key="enable_span_insert"
124 android:title="@string/enable_span_insert"
125 android:summary="@string/enable_span_insert_summary"
126 android:persistent="true"
127 android:defaultValue="true" />
satok43396572011-09-28 20:11:05 +0900128 <PreferenceScreen
129 android:key="pref_vibration_duration_settings"
130 android:title="@string/prefs_vibration_duration_settings"/>
satokc9c54a82011-09-14 14:07:10 +0900131 <!-- TODO: evaluate results and revive this option. The code
132 already supports it. -->
133 <!-- <CheckBoxPreference -->
134 <!-- android:key="bigram_prediction" -->
135 <!-- android:dependency="bigram_suggestion" -->
136 <!-- android:title="@string/bigram_prediction" -->
137 <!-- android:summary="@string/bigram_prediction_summary" -->
138 <!-- android:persistent="true" -->
139 <!-- android:defaultValue="false" /> -->
140 </PreferenceScreen>
Jean Chalardb5059122011-04-22 13:08:35 +0900141 </PreferenceCategory>
satokb1ae5d82011-04-19 21:52:12 -0700142</PreferenceScreen>