1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 20 android:title="@string/settings_screen_advanced" 21 android:key="screen_advanced"> 22 <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. --> 23 <ListPreference 24 android:key="pref_key_preview_popup_dismiss_delay" 25 android:title="@string/key_preview_popup_dismiss_delay" /> 26 <com.android.inputmethod.latin.settings.SeekBarDialogPreference 27 android:key="pref_vibration_duration_settings" 28 android:title="@string/prefs_keypress_vibration_duration_settings" 29 latin:maxValue="@integer/config_max_vibration_duration" /> 30 <com.android.inputmethod.latin.settings.SeekBarDialogPreference 31 android:key="pref_keypress_sound_volume" 32 android:title="@string/prefs_keypress_sound_volume_settings" 33 latin:maxValue="100" /> <!-- percent --> 34 <com.android.inputmethod.latin.settings.SeekBarDialogPreference 35 android:key="pref_key_longpress_timeout" 36 android:title="@string/prefs_key_longpress_timeout_settings" 37 latin:minValue="@integer/config_min_longpress_timeout" 38 latin:maxValue="@integer/config_max_longpress_timeout" 39 latin:stepValue="@integer/config_longpress_timeout_step" /> 40 <CheckBoxPreference 41 android:key="pref_enable_emoji_alt_physical_key" 42 android:title="@string/prefs_enable_emoji_alt_physical_key" 43 android:summary="@string/prefs_enable_emoji_alt_physical_key_summary" 44 android:defaultValue="true" 45 android:persistent="true" /> 46 <CheckBoxPreference 47 android:key="pref_show_setup_wizard_icon" 48 android:title="@string/show_setup_wizard_icon" 49 android:summary="@string/show_setup_wizard_icon_summary" 50 android:persistent="true" /> 51 <PreferenceScreen 52 android:fragment="com.android.inputmethod.latin.settings.DebugSettingsFragment" 53 android:key="screen_debug" 54 android:title="Debug settings" 55 android:defaultValue="false" 56 android:persistent="true" /> 57</PreferenceScreen> 58