The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | <?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 Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 7 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 9 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 10 | 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 | |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 17 | <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 Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 21 | <PreferenceCategory |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 22 | android:title="@string/general_category" |
| 23 | android:key="general_settings"> |
satok | c3f4d55 | 2011-07-09 10:14:05 +0900 | [diff] [blame] | 24 | <PreferenceScreen |
| 25 | android:key="subtype_settings" |
| 26 | android:title="@string/language_selection_title" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 27 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 28 | android:key="auto_cap" |
| 29 | android:title="@string/auto_cap" |
| 30 | android:persistent="true" |
| 31 | android:defaultValue="true" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 32 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 33 | android:key="vibrate_on" |
| 34 | android:title="@string/vibrate_on_keypress" |
Ken Wakasa | 37af28d | 2011-09-20 20:16:11 +0900 | [diff] [blame] | 35 | android:defaultValue="@bool/config_default_vibration_enabled" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 36 | android:persistent="true" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 37 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 38 | android:key="sound_on" |
| 39 | android:title="@string/sound_on_keypress" |
| 40 | android:defaultValue="@bool/config_default_sound_enabled" |
| 41 | android:persistent="true" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 42 | <CheckBoxPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 43 | android:key="popup_on" |
| 44 | android:title="@string/popup_on_keypress" |
| 45 | android:persistent="true" |
| 46 | android:defaultValue="@bool/config_default_popup_preview" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 47 | <CheckBoxPreference |
Ken Wakasa | 2ba975a | 2011-07-30 10:19:51 +0900 | [diff] [blame] | 48 | android:key="show_settings_key" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 49 | android:title="@string/prefs_settings_key" |
| 50 | android:persistent="true" |
Ken Wakasa | f84107c | 2011-08-12 18:59:16 +0900 | [diff] [blame] | 51 | android:defaultValue="@bool/config_default_show_settings_key" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 52 | <ListPreference |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 53 | android:key="voice_mode" |
| 54 | android:title="@string/voice_input" |
| 55 | android:persistent="true" |
| 56 | android:entryValues="@array/voice_input_modes_values" |
| 57 | android:entries="@array/voice_input_modes" |
| 58 | android:defaultValue="@string/voice_mode_main" /> |
Jean Chalard | ce9c417 | 2011-01-19 15:07:14 +0900 | [diff] [blame] | 59 | </PreferenceCategory> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 60 | <PreferenceCategory |
Jean Chalard | b505912 | 2011-04-22 13:08:35 +0900 | [diff] [blame] | 61 | android:title="@string/correction_category" |
| 62 | android:key="correction_settings"> |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 63 | <PreferenceScreen |
| 64 | android:key="configure_dictionaries_key" |
| 65 | android:title="@string/configure_dictionaries_title"> |
| 66 | <intent |
| 67 | android:action="android.intent.action.MAIN" |
Jean Chalard | 4ef448a | 2011-08-11 21:48:59 +0900 | [diff] [blame] | 68 | android:targetPackage="@string/dictionary_pack_package_name" |
| 69 | android:targetClass="@string/dictionary_pack_settings_activity" /> |
Jean Chalard | 4f3d5d3 | 2011-06-24 20:17:38 +0900 | [diff] [blame] | 70 | </PreferenceScreen> |
satok | 7599cfe | 2010-11-13 19:09:30 +0900 | [diff] [blame] | 71 | <ListPreference |
Tadashi G. Takaoka | 1b1f7f9 | 2010-12-11 17:06:24 +0900 | [diff] [blame] | 72 | android:key="auto_correction_threshold" |
| 73 | android:title="@string/auto_correction" |
| 74 | android:summary="@string/auto_correction_summary" |
Mitsuhiro Shimoda | b1abda8 | 2010-09-28 12:23:26 +0900 | [diff] [blame] | 75 | android:persistent="true" |
Tadashi G. Takaoka | 9ecad8c | 2010-12-13 12:37:23 +0900 | [diff] [blame] | 76 | android:entryValues="@array/auto_correction_threshold_mode_indexes" |
Tadashi G. Takaoka | 1b1f7f9 | 2010-12-11 17:06:24 +0900 | [diff] [blame] | 77 | android:entries="@array/auto_correction_threshold_modes" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 78 | android:defaultValue="@string/auto_correction_threshold_mode_index_modest" /> |
Jean Chalard | 89764ad | 2011-01-19 17:44:39 +0900 | [diff] [blame] | 79 | <ListPreference |
| 80 | android:key="show_suggestions_setting" |
| 81 | android:summary="@string/prefs_show_suggestions_summary" |
| 82 | android:title="@string/prefs_show_suggestions" |
| 83 | android:persistent="true" |
| 84 | android:entryValues="@array/prefs_suggestion_visibility_values" |
| 85 | android:entries="@array/prefs_suggestion_visibilities" |
satok | 8f9b86f | 2011-04-01 19:31:30 +0900 | [diff] [blame] | 86 | android:defaultValue="@string/prefs_suggestion_visibility_default_value" /> |
Jean Chalard | b505912 | 2011-04-22 13:08:35 +0900 | [diff] [blame] | 87 | </PreferenceCategory> |
| 88 | <PreferenceCategory |
Jean Chalard | b505912 | 2011-04-22 13:08:35 +0900 | [diff] [blame] | 89 | android:title="@string/misc_category" |
| 90 | android:key="misc_settings"> |
satok | c9c54a8 | 2011-09-14 14:07:10 +0900 | [diff] [blame] | 91 | <CheckBoxPreference |
| 92 | android:key="usability_study_mode" |
| 93 | android:title="@string/prefs_usability_study_mode" |
| 94 | android:persistent="true" |
| 95 | android:defaultValue="false" /> |
| 96 | <PreferenceScreen |
| 97 | android:key="pref_advanced_settings" |
| 98 | android:title="@string/advanced_settings" |
| 99 | android:summary="@string/advanced_settings_summary"> |
| 100 | <!-- Values for popup dismiss delay are added programatically --> |
| 101 | <ListPreference |
| 102 | android:key="pref_key_preview_popup_dismiss_delay" |
| 103 | android:title="@string/key_preview_popup_dismiss_delay" /> |
| 104 | <CheckBoxPreference |
| 105 | android:key="pref_key_use_contacts_dict" |
| 106 | android:title="@string/use_contacts_dict" |
| 107 | android:summary="@string/use_contacts_dict_summary" |
| 108 | android:persistent="true" |
| 109 | android:defaultValue="true" /> |
| 110 | <CheckBoxPreference |
| 111 | android:key="bigram_suggestion" |
| 112 | android:title="@string/bigram_suggestion" |
| 113 | android:summary="@string/bigram_suggestion_summary" |
| 114 | android:persistent="true" |
| 115 | android:defaultValue="true" /> |
| 116 | <CheckBoxPreference |
| 117 | android:key="enable_span_insert" |
| 118 | android:title="@string/enable_span_insert" |
| 119 | android:summary="@string/enable_span_insert_summary" |
| 120 | android:persistent="true" |
| 121 | android:defaultValue="true" /> |
satok | 4339657 | 2011-09-28 20:11:05 +0900 | [diff] [blame] | 122 | <PreferenceScreen |
| 123 | android:key="pref_vibration_duration_settings" |
satok | 79c0acf | 2011-10-11 16:39:11 +0900 | [diff] [blame] | 124 | android:title="@string/prefs_keypress_vibration_duration_settings"/> |
| 125 | <PreferenceScreen |
| 126 | android:key="pref_keypress_sound_volume" |
| 127 | android:title="@string/prefs_keypress_sound_volume_settings" /> |
satok | c9c54a8 | 2011-09-14 14:07:10 +0900 | [diff] [blame] | 128 | <!-- TODO: evaluate results and revive this option. The code |
| 129 | already supports it. --> |
| 130 | <!-- <CheckBoxPreference --> |
| 131 | <!-- android:key="bigram_prediction" --> |
| 132 | <!-- android:dependency="bigram_suggestion" --> |
| 133 | <!-- android:title="@string/bigram_prediction" --> |
| 134 | <!-- android:summary="@string/bigram_prediction_summary" --> |
| 135 | <!-- android:persistent="true" --> |
| 136 | <!-- android:defaultValue="false" /> --> |
| 137 | </PreferenceScreen> |
Jean Chalard | b505912 | 2011-04-22 13:08:35 +0900 | [diff] [blame] | 138 | </PreferenceCategory> |
satok | b1ae5d8 | 2011-04-19 21:52:12 -0700 | [diff] [blame] | 139 | </PreferenceScreen> |