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                   xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
     19         android:key="language_keyboard_settings"
     20         android:title="@string/language_keyboard_settings_title">
     21 
     22     <PreferenceScreen
     23             android:key="phone_language"
     24             android:title="@string/phone_language"
     25             android:fragment="com.android.settings.LocalePicker"
     26             />
     27 
     28     <!-- Spell checker preference title, summary and fragment will be set programmatically. -->
     29     <!-- Note: Mark this as persistent="false" to remove unnecessarily saved shared preference.
     30          See: InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference. -->
     31     <PreferenceScreen
     32             android:key="spellcheckers_settings"
     33             android:title="@string/spellcheckers_settings_title"
     34             settings:keywords="@string/keywords_spell_checker"
     35             android:persistent="false"
     36             />
     37 
     38     <!-- User dictionary preference title and fragment will be set programmatically. -->
     39     <PreferenceScreen
     40             android:key="key_user_dictionary_settings"
     41             android:title="@string/user_dict_settings_title"
     42             />
     43 
     44     <PreferenceCategory
     45             android:key="keyboard_settings_category"
     46             android:title="@string/keyboard_settings_category"
     47             settings:keywords="@string/keywords_keyboard_and_ime">
     48 
     49         <PreferenceScreen
     50                 android:key="current_input_method"
     51                 android:title="@string/current_input_method"
     52                 />
     53         <!-- Enabled input method list will be populated programmatically here. -->
     54     </PreferenceCategory>
     55 
     56     <PreferenceCategory
     57             android:key="hard_keyboard"
     58             android:title="@string/builtin_keyboard_settings_title"
     59             android:persistent="false">
     60         <!-- Additional preference screens are inserted here programmatically
     61              with low order values to set the key map of each attached keyboard. -->
     62     </PreferenceCategory>
     63 
     64     <PreferenceCategory
     65             android:key="voice_category"
     66             android:title="@string/voice_category" >
     67 
     68         <PreferenceScreen
     69                 android:key="voice_input_settings"
     70                 android:title="@string/voice_input_settings_title"
     71                 settings:keywords="@string/keywords_voice_input"
     72                 android:fragment="com.android.settings.voice.VoiceInputSettings"
     73                 />
     74 
     75         <PreferenceScreen
     76                 android:key="tts_settings"
     77                 android:title="@string/tts_settings_title"
     78                 settings:keywords="@string/keywords_text_to_speech_output"
     79                 android:fragment="com.android.settings.tts.TextToSpeechSettings"
     80                 />
     81 
     82     </PreferenceCategory>
     83 
     84     <PreferenceCategory
     85             android:key="pointer_settings_category"
     86             android:title="@string/pointer_settings_category">
     87 
     88         <com.android.settings.PointerSpeedPreference
     89                 android:key="pointer_speed"
     90                 android:title="@string/pointer_speed"
     91                 android:dialogTitle="@string/pointer_speed"
     92                 />
     93 
     94     </PreferenceCategory>
     95 
     96     <PreferenceCategory
     97             android:key="game_controller_settings_category"
     98             android:title="@string/game_controller_settings_category">
     99 
    100         <CheckBoxPreference
    101                 android:key="vibrate_input_devices"
    102                 android:title="@string/vibrate_input_devices"
    103                 android:summaryOn="@string/vibrate_input_devices_summary"
    104                 android:summaryOff="@string/vibrate_input_devices_summary"
    105                 android:persistent="false"
    106                 />
    107 
    108     </PreferenceCategory>
    109 
    110 </PreferenceScreen>
    111