Home | History | Annotate | Download | only in xml
      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="auto_cap"
     35             android:title="@string/auto_cap"
     36             android:persistent="true"
     37             android:defaultValue="true"
     38             />
     39 
     40     <ListPreference
     41             android:key="voice_mode"
     42             android:title="@string/voice_input"
     43             android:persistent="true"
     44             android:entryValues="@array/voice_input_modes_values"
     45             android:entries="@array/voice_input_modes"
     46             android:defaultValue="@string/voice_mode_main"
     47             />
     48 
     49     <PreferenceScreen
     50             android:title="@string/language_selection_title"
     51             android:summary="@string/language_selection_summary">
     52         <intent
     53                 android:action="com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION"/>
     54     </PreferenceScreen>
     55 
     56     <PreferenceCategory
     57             android:title="@string/prediction_category"
     58             android:key="prediction_settings">
     59 
     60         <CheckBoxPreference
     61             android:key="quick_fixes"
     62             android:title="@string/quick_fixes"
     63             android:summary="@string/quick_fixes_summary"
     64             android:persistent="true"
     65             android:defaultValue="true"
     66             />
     67 
     68         <CheckBoxPreference
     69             android:key="show_suggestions"
     70             android:title="@string/show_suggestions"
     71             android:summary="@string/show_suggestions_summary"
     72             android:persistent="true"
     73             android:defaultValue="true"
     74             />
     75 
     76         <CheckBoxPreference
     77             android:key="auto_complete"
     78             android:title="@string/auto_complete"
     79             android:summary="@string/auto_complete_summary"
     80             android:persistent="true" 
     81             android:defaultValue="@bool/enable_autocorrect"
     82             android:dependency="show_suggestions"
     83             />
     84             
     85     </PreferenceCategory>            
     86 </PreferenceScreen>
     87