blob: 494cdc91ddaf48c550dc95cb37044e18704563a9 [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001<?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
Jean Chalardce9c4172011-01-19 15:07:14 +09007
The Android Open Source Project923bf412009-03-13 15:11:42 -07008 http://www.apache.org/licenses/LICENSE-2.0
Jean Chalardce9c4172011-01-19 15:07:14 +09009
The Android Open Source Project923bf412009-03-13 15:11:42 -070010 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
satok8f9b86f2011-04-01 19:31:30 +090017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
Tadashi G. Takaoka2df0cf22013-01-18 16:47:49 +090019 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
satok8f9b86f2011-04-01 19:31:30 +090020 android:key="english_ime_settings">
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070021 <PreferenceScreen
Tadashi G. Takaokabfcd98e2014-07-23 17:08:18 -070022 android:fragment="com.android.inputmethod.latin.settings.InputSettingsFragment"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070023 android:title="@string/settings_screen_input"
Tadashi G. Takaokabfcd98e2014-07-23 17:08:18 -070024 android:key="screen_input" />
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070025 <ListPreference
26 android:key="pref_keyboard_theme"
27 android:title="@string/keyboard_theme"
28 android:entryValues="@array/keyboard_theme_ids"
29 android:entries="@array/keyboard_theme_names"
30 android:persistent="true" />
31 <PreferenceScreen
Tadashi G. Takaoka6b715302014-07-23 23:34:35 -070032 android:fragment="com.android.inputmethod.latin.settings.MultiLingualSettingsFragment"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070033 android:title="@string/settings_screen_multi_lingual"
Tadashi G. Takaoka6b715302014-07-23 23:34:35 -070034 android:key="screen_multi_lingual" />
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070035 <PreferenceScreen
Tadashi G. Takaoka3c8a0752014-07-27 15:28:48 +090036 android:fragment="com.android.inputmethod.latin.settings.GestureSettingsFragment"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070037 android:title="@string/settings_screen_gesture"
Tadashi G. Takaoka3c8a0752014-07-27 15:28:48 +090038 android:key="screen_gesture" />
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070039 <PreferenceScreen
40 android:title="@string/settings_screen_correction"
41 android:key="screen_correction">
Jean Chalard4f3d5d32011-06-24 20:17:38 +090042 <PreferenceScreen
Tadashi G. Takaoka4f253532013-04-15 18:46:57 +090043 android:key="edit_personal_dictionary"
44 android:title="@string/edit_personal_dictionary">
45 <intent android:action="android.settings.USER_DICTIONARY_SETTINGS" />
46 </PreferenceScreen>
47 <PreferenceScreen
Jean Chalard4f3d5d32011-06-24 20:17:38 +090048 android:key="configure_dictionaries_key"
49 android:title="@string/configure_dictionaries_title">
50 <intent
51 android:action="android.intent.action.MAIN"
Jean Chalard3c3b3c82013-02-22 21:24:15 -080052 android:targetClass="@string/dictionary_pack_settings_activity">
53 <extra
54 android:name="clientId"
55 android:value="@string/dictionary_pack_client_id" />
56 </intent>
Jean Chalard4f3d5d32011-06-24 20:17:38 +090057 </PreferenceScreen>
Ken Wakasae6a57bc2014-06-23 11:18:50 +000058 <CheckBoxPreference
Jean Chalardd361dc82013-04-23 12:37:21 +090059 android:key="pref_key_block_potentially_offensive"
60 android:title="@string/prefs_block_potentially_offensive_title"
61 android:summary="@string/prefs_block_potentially_offensive_summary"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070062 android:defaultValue="@bool/config_block_potentially_offensive"
63 android:persistent="true" />
satok7599cfe2010-11-13 19:09:30 +090064 <ListPreference
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090065 android:key="auto_correction_threshold"
66 android:title="@string/auto_correction"
67 android:summary="@string/auto_correction_summary"
Tadashi G. Takaoka9ecad8c2010-12-13 12:37:23 +090068 android:entryValues="@array/auto_correction_threshold_mode_indexes"
Tadashi G. Takaoka1b1f7f92010-12-11 17:06:24 +090069 android:entries="@array/auto_correction_threshold_modes"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070070 android:defaultValue="@string/auto_correction_threshold_mode_index_modest"
71 android:persistent="true" />
Tadashi G. Takaokaab661e32014-07-22 10:18:38 -070072 <CheckBoxPreference
73 android:key="show_suggestions"
Jean Chalard89764ad2011-01-19 17:44:39 +090074 android:summary="@string/prefs_show_suggestions_summary"
75 android:title="@string/prefs_show_suggestions"
Tadashi G. Takaokaab661e32014-07-22 10:18:38 -070076 android:defaultValue="true"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070077 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +000078 <CheckBoxPreference
Tadashi G. Takaokac2ba73a2014-02-20 06:02:26 +000079 android:key="pref_key_use_personalized_dicts"
Keisuke Kuroyanagi0a8e3072013-12-17 21:01:06 +090080 android:title="@string/use_personalized_dicts"
81 android:summary="@string/use_personalized_dicts_summary"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070082 android:defaultValue="true"
83 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +000084 <CheckBoxPreference
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070085 android:key="pref_key_use_contacts_dict"
86 android:title="@string/use_contacts_dict"
87 android:summary="@string/use_contacts_dict_summary"
88 android:defaultValue="true"
89 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +000090 <CheckBoxPreference
Jean Chalarde9e51ca2012-06-19 11:27:10 -070091 android:key="next_word_prediction"
92 android:title="@string/bigram_prediction"
93 android:summary="@string/bigram_prediction_summary"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070094 android:defaultValue="true"
95 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +000096 </PreferenceScreen>
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -070097 <PreferenceScreen
98 android:title="@string/settings_screen_advanced"
99 android:key="screen_advanced">
100 <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. -->
101 <ListPreference
102 android:key="pref_key_preview_popup_dismiss_delay"
103 android:title="@string/key_preview_popup_dismiss_delay" />
104 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
105 android:key="pref_vibration_duration_settings"
106 android:title="@string/prefs_keypress_vibration_duration_settings"
107 latin:maxValue="@integer/config_max_vibration_duration" />
108 <com.android.inputmethod.latin.settings.SeekBarDialogPreference
109 android:key="pref_keypress_sound_volume"
110 android:title="@string/prefs_keypress_sound_volume_settings"
111 latin:maxValue="100" /> <!-- percent -->
112 <!-- The settigs for showing setup wizard application icon shouldn't be persistent and
113 the default value is added programmatically. -->
114 <CheckBoxPreference
115 android:key="pref_show_setup_wizard_icon"
116 android:title="@string/show_setup_wizard_icon"
117 android:summary="@string/show_setup_wizard_icon_summary" />
118 <!-- title will be set programmatically to embed application name -->
119 <CheckBoxPreference
120 android:key="pref_enable_metrics_logging"
121 android:summary="@string/enable_metrics_logging_summary"
122 android:defaultValue="true"
123 android:persistent="true" />
Ken Wakasae6a57bc2014-06-23 11:18:50 +0000124 <PreferenceScreen
Tadashi G. Takaokaa270ac42014-07-23 16:50:58 -0700125 android:fragment="com.android.inputmethod.latin.settings.DebugSettings"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700126 android:key="screen_debug"
Satoshi Kataoka8ae8c762012-09-21 15:09:47 +0900127 android:title="Debug settings"
Tadashi G. Takaoka058c6c62014-06-19 17:47:11 -0700128 android:defaultValue="false"
129 android:persistent="true" />
130 </PreferenceScreen>
satokb1ae5d82011-04-19 21:52:12 -0700131</PreferenceScreen>