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.LocaleListEditor"
     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             android:persistent="false"
     35             />
     36 
     37     <!-- User dictionary preference title and fragment will be set programmatically. -->
     38     <PreferenceScreen
     39             android:key="key_user_dictionary_settings"
     40             android:title="@string/user_dict_settings_title"
     41             />
     42 
     43     <PreferenceCategory
     44         android:title="@string/keyboard_and_input_methods_category">
     45         <PreferenceScreen
     46             android:title="@string/virtual_keyboard_category"
     47             android:fragment="com.android.settings.inputmethod.VirtualKeyboardFragment" />
     48         <PreferenceScreen
     49             android:title="@string/physical_keyboard_title"
     50             android:fragment="com.android.settings.inputmethod.PhysicalKeyboardFragment" />
     51     </PreferenceCategory>
     52 
     53     <!-- Temporarily disabled: -->
     54     <!--<PreferenceCategory-->
     55             <!--android:key="keyboard_settings_category"-->
     56             <!--android:title="@string/keyboard_settings_category">-->
     57 
     58         <!--<PreferenceScreen-->
     59                 <!--android:key="current_input_method"-->
     60                 <!--android:title="@string/current_input_method"-->
     61                 <!--/>-->
     62         <!--&lt;!&ndash; Enabled input method list will be populated programmatically here. &ndash;&gt;-->
     63     <!--</PreferenceCategory>-->
     64 
     65     <!--<PreferenceCategory-->
     66             <!--android:key="hard_keyboard"-->
     67             <!--android:title="@string/builtin_keyboard_settings_title"-->
     68             <!--android:persistent="false">-->
     69         <!--&lt;!&ndash; Additional preference screens are inserted here programmatically-->
     70              <!--with low order values to set the key map of each attached keyboard. &ndash;&gt;-->
     71     <!--</PreferenceCategory>-->
     72 
     73     <PreferenceCategory
     74             android:key="voice_category"
     75             android:title="@string/voice_category" >
     76 
     77         <PreferenceScreen
     78                 android:key="tts_settings"
     79                 android:title="@string/tts_settings_title"
     80                 android:fragment="com.android.settings.tts.TextToSpeechSettings"
     81                 />
     82 
     83     </PreferenceCategory>
     84 
     85     <PreferenceCategory
     86             android:key="pointer_settings_category"
     87             android:title="@string/pointer_settings_category">
     88 
     89         <com.android.settings.PointerSpeedPreference
     90                 android:key="pointer_speed"
     91                 android:title="@string/pointer_speed"
     92                 android:dialogTitle="@string/pointer_speed"
     93                 />
     94 
     95     </PreferenceCategory>
     96 
     97     <PreferenceCategory
     98             android:key="game_controller_settings_category"
     99             android:title="@string/game_controller_settings_category">
    100 
    101         <SwitchPreference
    102                 android:key="vibrate_input_devices"
    103                 android:title="@string/vibrate_input_devices"
    104                 android:summaryOn="@string/vibrate_input_devices_summary"
    105                 android:summaryOff="@string/vibrate_input_devices_summary"
    106                 />
    107 
    108     </PreferenceCategory>
    109 
    110 </PreferenceScreen>
    111