Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright (C) 2016 The Android Open Source Project
      4 
      5   Licensed under the Apache License, Version 2.0 (the "License");
      6   you may not use this file except in compliance with the License.
      7   You may obtain a copy of the License at
      8 
      9        http://www.apache.org/licenses/LICENSE-2.0
     10 
     11   Unless required by applicable law or agreed to in writing, software
     12   distributed under the License is distributed on an "AS IS" BASIS,
     13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   See the License for the specific language governing permissions and
     15   limitations under the License.
     16   -->
     17 
     18 <PreferenceScreen
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
     21     android:title="@string/language_keyboard_settings_title" >
     22 
     23     <Preference
     24         android:key="phone_language"
     25         android:title="@string/phone_language"
     26         android:fragment="com.android.settings.localepicker.LocaleListEditor"/>
     27 
     28     <PreferenceCategory
     29         android:title="@string/keyboard_and_input_methods_category">
     30         <Preference
     31             android:key="virtual_keyboard_pref"
     32             android:title="@string/virtual_keyboard_category"
     33             android:fragment="com.android.settings.inputmethod.VirtualKeyboardFragment"/>
     34         <Preference
     35             android:key="physical_keyboard_pref"
     36             android:title="@string/physical_keyboard_title"
     37             android:summary="@string/summary_placeholder"
     38             android:fragment="com.android.settings.inputmethod.PhysicalKeyboardFragment"/>
     39     </PreferenceCategory>
     40 
     41     <PreferenceCategory
     42         android:title="@string/input_assistance">
     43         <!-- Spell checker preference title, summary and fragment will be set programmatically. -->
     44         <!-- Note: Mark this as persistent="false" to remove unnecessarily saved shared preference.
     45              See: InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference. -->
     46         <Preference
     47             android:key="spellcheckers_settings"
     48             android:title="@string/spellcheckers_settings_title"
     49             android:persistent="false"
     50             android:fragment="com.android.settings.inputmethod.SpellCheckersSettings"/>
     51 
     52         <com.android.settings.widget.GearPreference
     53             android:key="default_autofill"
     54             android:title="@string/autofill_app"
     55             android:fragment="com.android.settings.applications.defaultapps.DefaultAutofillPicker"
     56             settings:keywords="@string/autofill_keywords" />
     57 
     58         <!-- User dictionary preference title and fragment will be set programmatically. -->
     59         <Preference
     60             android:key="key_user_dictionary_settings"
     61             android:title="@string/user_dict_settings_title"/>
     62     </PreferenceCategory>
     63 
     64     <PreferenceCategory
     65         android:key="gesture_settings_category"
     66         android:title="@string/gesture_preference_title">
     67 
     68         <Preference
     69             android:key="gesture_assist_input_summary"
     70             android:title="@string/assist_gesture_title"
     71             android:fragment="com.android.settings.gestures.AssistGestureSettings"/>
     72 
     73         <Preference
     74             android:key="gesture_swipe_down_fingerprint_input_summary"
     75             android:title="@string/fingerprint_swipe_for_notifications_title"
     76             android:fragment="com.android.settings.gestures.SwipeToNotificationSettings"/>
     77 
     78         <Preference
     79             android:key="gesture_double_tap_power_input_summary"
     80             android:title="@string/double_tap_power_for_camera_title"
     81             android:fragment="com.android.settings.gestures.DoubleTapPowerSettings"/>
     82 
     83         <Preference
     84             android:key="gesture_double_twist_input_summary"
     85             android:title="@string/double_twist_for_camera_mode_title"
     86             android:fragment="com.android.settings.gestures.DoubleTwistGestureSettings"/>
     87 
     88         <Preference
     89             android:key="gesture_double_tap_screen_input_summary"
     90             android:title="@string/ambient_display_title"
     91             android:fragment="com.android.settings.gestures.DoubleTapScreenSettings"/>
     92 
     93         <Preference
     94             android:key="gesture_pick_up_input_summary"
     95             android:title="@string/ambient_display_pickup_title"
     96             android:fragment="com.android.settings.gestures.PickupGestureSettings"/>
     97 
     98     </PreferenceCategory>
     99 
    100     <PreferenceCategory>
    101 
    102         <com.android.settings.PointerSpeedPreference
    103             android:key="pointer_speed"
    104             android:title="@string/pointer_speed"
    105             android:dialogTitle="@string/pointer_speed"/>
    106 
    107         <Preference
    108             android:key="tts_settings_summary"
    109             android:title="@string/tts_settings_title"
    110             android:fragment="com.android.settings.tts.TextToSpeechSettings"/>
    111 
    112     </PreferenceCategory>
    113 
    114     <PreferenceCategory
    115         android:key="game_controller_settings_category"
    116         android:title="@string/game_controller_settings_category">
    117 
    118         <SwitchPreference
    119             android:key="vibrate_input_devices"
    120             android:title="@string/vibrate_input_devices"
    121             android:summaryOn="@string/vibrate_input_devices_summary"
    122             android:summaryOff="@string/vibrate_input_devices_summary"/>
    123 
    124     </PreferenceCategory>
    125 
    126 </PreferenceScreen>
    127