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 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 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 17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 18 android:title="@string/english_ime_settings" 19 android:key="english_ime_settings"> 20 21 <CheckBoxPreference 22 android:key="vibrate_on" 23 android:title="@string/vibrate_on_keypress" 24 android:persistent="true" 25 /> 26 27 <CheckBoxPreference 28 android:key="sound_on" 29 android:title="@string/sound_on_keypress" 30 android:persistent="true" 31 /> 32 33 <CheckBoxPreference 34 android:key="popup_on" 35 android:title="@string/popup_on_keypress" 36 android:persistent="true" 37 android:defaultValue="@bool/default_popup_preview" 38 /> 39 40 <CheckBoxPreference 41 android:key="recorrection_enabled" 42 android:title="@string/prefs_enable_recorrection" 43 android:summary="@string/prefs_enable_recorrection_summary" 44 android:persistent="true" 45 android:defaultValue="@bool/default_recorrection_enabled" 46 /> 47 48 <CheckBoxPreference 49 android:key="auto_cap" 50 android:title="@string/auto_cap" 51 android:persistent="true" 52 android:defaultValue="true" 53 /> 54 55 <ListPreference 56 android:key="settings_key" 57 android:title="@string/prefs_settings_key" 58 android:persistent="true" 59 android:entryValues="@array/settings_key_modes_values" 60 android:entries="@array/settings_key_modes" 61 android:defaultValue="@string/settings_key_mode_auto" 62 /> 63 64 <ListPreference 65 android:key="voice_mode" 66 android:title="@string/voice_input" 67 android:persistent="true" 68 android:entryValues="@array/voice_input_modes_values" 69 android:entries="@array/voice_input_modes" 70 android:defaultValue="@string/voice_mode_main" 71 /> 72 73 74 <PreferenceScreen 75 android:title="@string/language_selection_title" 76 android:summary="@string/language_selection_summary"> 77 <intent 78 android:action="com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION"/> 79 </PreferenceScreen> 80 81 <PreferenceCategory 82 android:title="@string/prediction_category" 83 android:key="prediction_settings"> 84 85 <CheckBoxPreference 86 android:key="quick_fixes" 87 android:title="@string/quick_fixes" 88 android:summary="@string/quick_fixes_summary" 89 android:persistent="true" 90 android:defaultValue="true" 91 /> 92 93 <CheckBoxPreference 94 android:key="show_suggestions" 95 android:title="@string/show_suggestions" 96 android:summary="@string/show_suggestions_summary" 97 android:persistent="true" 98 android:defaultValue="true" 99 /> 100 101 <CheckBoxPreference 102 android:key="auto_complete" 103 android:title="@string/auto_complete" 104 android:summary="@string/auto_complete_summary" 105 android:persistent="true" 106 android:defaultValue="@bool/enable_autocorrect" 107 android:dependency="show_suggestions" 108 /> 109 </PreferenceCategory> 110 111</PreferenceScreen> 112