blob: cc1b52ba6c8e178fa446bb61b505715a55577a26 [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:title="@string/english_ime_settings"
21 android:key="english_ime_settings">
Jean Chalardce9c4172011-01-19 15:07:14 +090022 <PreferenceCategory
satok8f9b86f2011-04-01 19:31:30 +090023 android:title="@string/general_category"
24 android:key="general_settings">
Jean Chalardce9c4172011-01-19 15:07:14 +090025 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090026 android:key="auto_cap"
27 android:title="@string/auto_cap"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090028 android:summary="@string/auto_cap_summary"
satok8f9b86f2011-04-01 19:31:30 +090029 android:persistent="true"
30 android:defaultValue="true" />
Jean Chalardce9c4172011-01-19 15:07:14 +090031 <CheckBoxPreference
satok8f9b86f2011-04-01 19:31:30 +090032 android:key="vibrate_on"
33 android:title="@string/vibrate_on_keypress"
Ken Wakasa37af28d2011-09-20 20:16:11 +090034 android:defaultValue="@bool/config_default_vibration_enabled"
satok8f9b86f2011-04-01 19:31:30 +090035 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 <ListPreference
satok8f9b86f2011-04-01 19:31:30 +090047 android:key="voice_mode"
48 android:title="@string/voice_input"
49 android:persistent="true"
50 android:entryValues="@array/voice_input_modes_values"
51 android:entries="@array/voice_input_modes"
52 android:defaultValue="@string/voice_mode_main" />
Jean Chalardce9c4172011-01-19 15:07:14 +090053 </PreferenceCategory>
The Android Open Source Project923bf412009-03-13 15:11:42 -070054 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +090055 android:title="@string/correction_category"
56 android:key="correction_settings">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090057 <PreferenceScreen
58 android:key="configure_dictionaries_key"
59 android:title="@string/configure_dictionaries_title">
60 <intent
61 android:action="android.intent.action.MAIN"
Jean Chalard4ef448a2011-08-11 21:48:59 +090062 android:targetPackage="@string/dictionary_pack_package_name"
63 android:targetClass="@string/dictionary_pack_settings_activity" />
Jean Chalard4f3d5d32011-06-24 20:17:38 +090064 </PreferenceScreen>
satok7599cfe2010-11-13 19:09:30 +090065 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090066 android:key="auto_correction_threshold"
67 android:title="@string/auto_correction"
68 android:summary="@string/auto_correction_summary"
Mitsuhiro Shimodab1abda82010-09-28 12:23:26 +090069 android:persistent="true"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090070 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090071 android:entries="@array/auto_correction_threshold_modes"
satok8f9b86f2011-04-01 19:31:30 +090072 android:defaultValue="@string/auto_correction_threshold_mode_index_modest" />
Jean Chalard89764ad2011-01-19 17:44:39 +090073 <ListPreference
74 android:key="show_suggestions_setting"
75 android:summary="@string/prefs_show_suggestions_summary"
76 android:title="@string/prefs_show_suggestions"
77 android:persistent="true"
78 android:entryValues="@array/prefs_suggestion_visibility_values"
79 android:entries="@array/prefs_suggestion_visibilities"
satok8f9b86f2011-04-01 19:31:30 +090080 android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
Jean Chalardb5059122011-04-22 13:08:35 +090081 </PreferenceCategory>
82 <PreferenceCategory
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090083 android:title="@string/gesture_typing_category"
84 android:key="gesture_typing_settings">
85 <CheckBoxPreference
86 android:key="gesture_input"
87 android:title="@string/gesture_input"
88 android:summary="@string/gesture_input_summary"
89 android:persistent="true"
90 android:defaultValue="true" />
91 <CheckBoxPreference
Tadashi G. Takaoka15281ad2012-10-02 10:30:03 +090092 android:key="pref_gesture_floating_preview_text"
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090093 android:title="@string/gesture_floating_preview_text"
94 android:summary="@string/gesture_floating_preview_text_summary"
95 android:persistent="true"
Tadashi G. Takaoka15281ad2012-10-02 10:30:03 +090096 android:defaultValue="true" />
Tadashi G. Takaoka9458e712012-09-26 11:09:15 +090097 <CheckBoxPreference
98 android:key="pref_gesture_preview_trail"
99 android:title="@string/gesture_preview_trail"
100 android:persistent="true"
101 android:defaultValue="true" />
102 </PreferenceCategory>
103 <PreferenceCategory
Jean Chalardb5059122011-04-22 13:08:35 +0900104 android:title="@string/misc_category"
105 android:key="misc_settings">
satokc9c54a82011-09-14 14:07:10 +0900106 <CheckBoxPreference
Jean Chalarde9e51ca2012-06-19 11:27:10 -0700107 android:key="next_word_prediction"
108 android:title="@string/bigram_prediction"
109 android:summary="@string/bigram_prediction_summary"
110 android:persistent="true"
111 android:defaultValue="true" />
satokc9c54a82011-09-14 14:07:10 +0900112 <PreferenceScreen
113 android:key="pref_advanced_settings"
114 android:title="@string/advanced_settings"
115 android:summary="@string/advanced_settings_summary">
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800116 <CheckBoxPreference
Tadashi G. Takaoka47e2bf32012-07-27 15:32:29 +0900117 android:key="pref_key_use_contacts_dict"
118 android:title="@string/use_contacts_dict"
119 android:summary="@string/use_contacts_dict_summary"
120 android:persistent="true"
121 android:defaultValue="true" />
122 <CheckBoxPreference
Ken Wakasa139bd83f2012-12-04 15:24:55 +0900123 android:key="pref_key_use_double_space_period"
124 android:title="@string/use_double_space_period"
125 android:summary="@string/use_double_space_period_summary"
126 android:persistent="true"
127 android:defaultValue="true" />
128 <CheckBoxPreference
Tadashi G. Takaoka1a4aa7e2012-09-20 10:32:56 +0900129 android:key="pref_show_language_switch_key"
130 android:title="@string/show_language_switch_key"
131 android:summary="@string/show_language_switch_key_summary"
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800132 android:persistent="true"
Tadashi G. Takaoka1a4aa7e2012-09-20 10:32:56 +0900133 android:defaultValue="true" />
Tadashi G. Takaoka81d4e3c2012-02-17 17:46:01 -0800134 <CheckBoxPreference
135 android:key="pref_include_other_imes_in_language_switch_list"
136 android:title="@string/include_other_imes_in_language_switch_list"
137 android:summary="@string/include_other_imes_in_language_switch_list_summary"
138 android:persistent="true"
139 android:defaultValue="false" />
Tadashi G. Takaokac27fe622012-04-13 16:41:24 +0900140 <PreferenceScreen
141 android:fragment="com.android.inputmethod.latin.AdditionalSubtypeSettings"
142 android:key="custom_input_styles"
143 android:title="@string/custom_input_styles_title" />
satokc9c54a82011-09-14 14:07:10 +0900144 <!-- 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" />
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900148 <com.android.inputmethod.latin.SeekBarDialogPreference
satok43396572011-09-28 20:11:05 +0900149 android:key="pref_vibration_duration_settings"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900150 android:title="@string/prefs_keypress_vibration_duration_settings"
151 latin:valueFormatText="@string/abbreviation_unit_milliseconds"
152 latin:maxValue="@integer/config_max_vibration_duration" />
153 <com.android.inputmethod.latin.SeekBarDialogPreference
satok79c0acf2011-10-11 16:39:11 +0900154 android:key="pref_keypress_sound_volume"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +0900155 android:title="@string/prefs_keypress_sound_volume_settings"
156 latin:maxValue="100" /> <!-- percent -->
satokc9c54a82011-09-14 14:07:10 +0900157 </PreferenceScreen>
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900158 <PreferenceScreen
159 android:key="debug_settings"
160 android:title="Debug settings"
161 android:persistent="true"
162 android:defaultValue="false" />
Jean Chalardb5059122011-04-22 13:08:35 +0900163 </PreferenceCategory>
satokb1ae5d82011-04-19 21:52:12 -0700164</PreferenceScreen>