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    <!-- The settings for showing setup wizard application icon shouldn't be persistent and
35         the default value is added programmatically. -->
36    <CheckBoxPreference
37        android:key="pref_show_setup_wizard_icon"
38        android:title="@string/show_setup_wizard_icon"
39        android:summary="@string/show_setup_wizard_icon_summary" />
40    <!-- title will be set programmatically to embed application name -->
41    <CheckBoxPreference
42        android:key="pref_enable_metrics_logging"
43        android:summary="@string/enable_metrics_logging_summary"
44        android:defaultValue="true"
45        android:persistent="true" />
46    <PreferenceScreen
47        android:fragment="com.android.inputmethod.latin.settings.DebugSettingsFragment"
48        android:key="screen_debug"
49        android:title="Debug settings"
50        android:defaultValue="false"
51        android:persistent="true" />
52</PreferenceScreen>
53