PageRenderTime 15ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/ime/latinime/res/xml/prefs.xml

http://eyes-free.googlecode.com/
XML | 150 lines | 87 code | 16 blank | 47 comment | 0 complexity | 6002f4361b034ab6165f657b15a3aaa1 MD5 | raw file
  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    <PreferenceScreen
 22            android:title="@string/launch_tutorial"
 23            android:summary="@string/launch_tutorial_summary">
 24        <intent
 25                android:action="com.googlecode.eyesfree.inputmethod.latin.tutorial.LAUNCH_TUTORIAL"
 26                android:targetPackage="com.googlecode.eyesfree.inputmethod.latin" />
 27    </PreferenceScreen>
 28
 29    <CheckBoxPreference
 30            android:key="auto_switch"
 31            android:title="@string/auto_switch"
 32            android:summary="@string/auto_switch_summary"
 33            android:persistent="true"
 34            android:defaultValue="@bool/default_auto_switch"
 35            />
 36
 37    <CheckBoxPreference
 38            android:key="dpad_keys"
 39            android:title="@string/dpad_keys"
 40            android:summary="@string/dpad_keys_summary"
 41            android:persistent="true"
 42            android:defaultValue="@bool/default_dpad_keys"
 43            />
 44
 45    <CheckBoxPreference
 46            android:key="linear_navigation"
 47            android:title="@string/linear_navigation"
 48            android:summary="@string/linear_navigation_summary"
 49            android:persistent="true"
 50            android:defaultValue="@bool/default_linear_navigation"
 51            />
 52
 53<!--
 54    <CheckBoxPreference
 55            android:key="answer_calls"
 56            android:title="@string/answer_calls"
 57            android:summary="@string/answer_calls_summary"
 58            android:persistent="true"
 59            android:defaultValue="@bool/default_answer_calls"
 60            />
 61-->
 62
 63    <CheckBoxPreference
 64            android:key="vibrate_on"
 65            android:title="@string/vibrate_on_keypress"
 66            android:summary="@string/vibrate_on_keypress_summary"
 67            android:persistent="true"
 68            android:defaultValue="@bool/default_vibrate"
 69            />
 70
 71    <CheckBoxPreference
 72            android:key="sound_on"
 73            android:title="@string/sound_on_keypress"
 74            android:summary="@string/sound_on_keypress_summary"
 75            android:persistent="true" 
 76            android:defaultValue="@bool/default_sound"
 77            />
 78
 79<!--
 80    <CheckBoxPreference
 81            android:key="popup_on"
 82            android:title="@string/popup_on_keypress"
 83            android:persistent="true"
 84            android:defaultValue="@bool/default_popup_preview"
 85            />
 86
 87    <CheckBoxPreference
 88            android:key="recorrection_enabled"
 89            android:title="@string/prefs_enable_recorrection"
 90            android:summary="@string/prefs_enable_recorrection_summary"
 91            android:persistent="true"
 92            android:defaultValue="@bool/default_recorrection_enabled"
 93            />
 94 -->
 95 
 96    <CheckBoxPreference
 97            android:key="auto_cap"
 98            android:title="@string/auto_cap"
 99            android:persistent="true"
100            android:defaultValue="@bool/default_auto_cap"
101            />
102
103    <ListPreference
104            android:key="voice_mode"
105            android:title="@string/voice_input"
106            android:persistent="true"
107            android:entryValues="@array/voice_input_modes_values"
108            android:entries="@array/voice_input_modes"
109            android:defaultValue="@string/voice_mode_main"
110            />
111
112<!--
113    <PreferenceScreen
114            android:title="@string/language_selection_title"
115            android:summary="@string/language_selection_summary">
116        <intent
117                android:action="com.googlecode.eyesfree.inputmethod.latin.INPUT_LANGUAGE_SELECTION"/>
118    </PreferenceScreen>
119-->
120    <PreferenceCategory
121            android:title="@string/prediction_category"
122            android:key="prediction_settings">
123
124        <CheckBoxPreference
125            android:key="quick_fixes"
126            android:title="@string/quick_fixes"
127            android:summary="@string/quick_fixes_summary"
128            android:persistent="true"
129            android:defaultValue="@bool/default_quick_fixes"
130            />
131
132        <CheckBoxPreference
133            android:key="show_suggestions"
134            android:title="@string/show_suggestions"
135            android:summary="@string/show_suggestions_summary"
136            android:persistent="true"
137            android:defaultValue="@bool/default_show_suggestions"
138            />
139
140        <CheckBoxPreference
141            android:key="auto_complete"
142            android:title="@string/auto_complete"
143            android:summary="@string/auto_complete_summary"
144            android:persistent="true" 
145            android:defaultValue="@bool/enable_autocorrect"
146            android:dependency="show_suggestions"
147            />
148    </PreferenceCategory>            
149 
150</PreferenceScreen>