Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 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 | |
Fan Zhang | f10a5a2 | 2017-01-20 11:03:53 -0800 | [diff] [blame] | 18 | <PreferenceScreen |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Fan Zhang | 74c61d1 | 2017-11-17 16:49:54 -0800 | [diff] [blame] | 20 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Edgar Wang | b0bfbe7 | 2021-05-04 02:19:48 +0800 | [diff] [blame] | 21 | android:title="@string/language_settings"> |
tom hsu | 58244b1 | 2021-10-28 14:50:11 +0800 | [diff] [blame] | 22 | <PreferenceCategory |
| 23 | android:key="languages_category" |
| 24 | android:title="@string/locale_picker_category_title"> |
| 25 | <Preference |
| 26 | android:key="phone_language" |
| 27 | android:title="@string/phone_language" |
danielwbhuang | c9cb680 | 2022-08-17 22:17:08 +0800 | [diff] [blame] | 28 | android:fragment="com.android.settings.localepicker.LocaleListEditor" |
| 29 | settings:controller="com.android.settings.language.PhoneLanguagePreferenceController" /> |
Doris Ling | 34cfd2e | 2017-02-03 16:16:42 -0800 | [diff] [blame] | 30 | |
tom hsu | 58244b1 | 2021-10-28 14:50:11 +0800 | [diff] [blame] | 31 | <Preference |
| 32 | android:key="apps_language" |
| 33 | android:title="@string/app_locales_picker_menu_title" |
| 34 | android:summary="@string/app_locale_picker_summary" |
| 35 | android:fragment="com.android.settings.applications.manageapplications.ManageApplications" |
| 36 | settings:controller="com.android.settings.applications.appinfo.ManageAppLocalePreferenceController"> |
| 37 | <extra |
| 38 | android:name="classname" |
| 39 | android:value="com.android.settings.applications.appinfo.AppLocaleDetails" /> |
| 40 | </Preference> |
tom hsu | 504a5dd | 2022-12-19 20:05:44 +0800 | [diff] [blame] | 41 | |
| 42 | <Preference |
| 43 | android:key="regional_preferences" |
| 44 | android:title="@string/regional_preferences_title" |
| 45 | android:summary="@string/regional_preferences_summary" |
| 46 | android:fragment="com.android.settings.regionalpreferences.RegionalPreferencesEntriesFragment" |
| 47 | settings:controller="com.android.settings.regionalpreferences.RegionalPreferencesController"> |
| 48 | </Preference> |
| 49 | |
tom hsu | 58244b1 | 2021-10-28 14:50:11 +0800 | [diff] [blame] | 50 | </PreferenceCategory> |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 51 | |
| 52 | <PreferenceCategory |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 53 | android:key="keyboards_category" |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 54 | android:title="@string/keyboard_and_input_methods_category"> |
| 55 | <Preference |
Fan Zhang | 2a9255b | 2017-03-23 16:42:13 -0700 | [diff] [blame] | 56 | android:key="virtual_keyboard_pref" |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 57 | android:title="@string/virtual_keyboard_category" |
Wilson Wu | bc72945 | 2021-09-14 18:36:34 +0800 | [diff] [blame] | 58 | android:fragment="com.android.settings.inputmethod.AvailableVirtualKeyboardFragment" |
Tsung-Mao Fang | 6b73e0f | 2020-06-03 16:50:04 +0800 | [diff] [blame] | 59 | settings:keywords="@string/keywords_virtual_keyboard"/> |
Qi Cao | 17ff2b2 | 2022-01-27 14:51:35 -0800 | [diff] [blame] | 60 | |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 61 | <Preference |
Fan Zhang | 2a9255b | 2017-03-23 16:42:13 -0700 | [diff] [blame] | 62 | android:key="physical_keyboard_pref" |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 63 | android:title="@string/physical_keyboard_title" |
Fan Zhang | 2a9255b | 2017-03-23 16:42:13 -0700 | [diff] [blame] | 64 | android:summary="@string/summary_placeholder" |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 65 | android:fragment="com.android.settings.inputmethod.PhysicalKeyboardFragment"/> |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 66 | </PreferenceCategory> |
| 67 | |
Fan Zhang | 3720e0c | 2017-03-21 15:15:27 -0700 | [diff] [blame] | 68 | <PreferenceCategory |
Qi Cao | 17ff2b2 | 2022-01-27 14:51:35 -0800 | [diff] [blame] | 69 | android:key="speech_category" |
| 70 | android:title="@string/speech_category_title"> |
| 71 | <com.android.settings.widget.GearPreference |
| 72 | android:key="voice_input_settings" |
| 73 | android:title="@string/voice_input_settings_title" |
| 74 | android:fragment="com.android.settings.language.DefaultVoiceInputPicker" /> |
| 75 | |
| 76 | <Preference |
Aleksandar Kiridzic | 3147366 | 2022-06-09 13:54:59 +0100 | [diff] [blame] | 77 | android:key="on_device_recognition_settings" |
| 78 | android:title="@string/on_device_recognition_settings_title" |
| 79 | android:summary="@string/on_device_recognition_settings_summary" |
| 80 | settings:controller= |
| 81 | "com.android.settings.language.OnDeviceRecognitionPreferenceController" /> |
| 82 | |
| 83 | <Preference |
Qi Cao | 17ff2b2 | 2022-01-27 14:51:35 -0800 | [diff] [blame] | 84 | android:key="tts_settings_summary" |
| 85 | android:title="@string/tts_settings_title" |
| 86 | android:fragment="com.android.settings.tts.TextToSpeechSettings" |
| 87 | settings:searchable="false"/> |
| 88 | </PreferenceCategory> |
| 89 | |
| 90 | <PreferenceCategory |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 91 | android:key="input_assistance_category" |
Fan Zhang | 3720e0c | 2017-03-21 15:15:27 -0700 | [diff] [blame] | 92 | android:title="@string/input_assistance"> |
| 93 | <!-- Spell checker preference title, summary and fragment will be set programmatically. --> |
| 94 | <!-- Note: Mark this as persistent="false" to remove unnecessarily saved shared preference. |
| 95 | See: InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference. --> |
| 96 | <Preference |
| 97 | android:key="spellcheckers_settings" |
| 98 | android:title="@string/spellcheckers_settings_title" |
| 99 | android:persistent="false" |
Fan Zhang | 7d7a9b1 | 2018-04-12 13:14:57 +0800 | [diff] [blame] | 100 | android:fragment="com.android.settings.inputmethod.SpellCheckersSettings" /> |
Doris Ling | 34cfd2e | 2017-02-03 16:16:42 -0800 | [diff] [blame] | 101 | |
Fan Zhang | 3720e0c | 2017-03-21 15:15:27 -0700 | [diff] [blame] | 102 | <!-- User dictionary preference title and fragment will be set programmatically. --> |
| 103 | <Preference |
| 104 | android:key="key_user_dictionary_settings" |
Fan Zhang | af15522 | 2018-07-11 09:41:39 -0700 | [diff] [blame] | 105 | android:title="@string/user_dict_settings_title" |
Daniel Hunt | 8d50393 | 2021-04-22 17:59:10 +0200 | [diff] [blame] | 106 | android:summary="@string/user_dict_settings_summary" |
Fan Zhang | af15522 | 2018-07-11 09:41:39 -0700 | [diff] [blame] | 107 | android:fragment="com.android.settings.inputmethod.UserDictionaryList" |
| 108 | settings:controller="com.android.settings.language.UserDictionaryPreferenceController" /> |
Fan Zhang | 3720e0c | 2017-03-21 15:15:27 -0700 | [diff] [blame] | 109 | </PreferenceCategory> |
Doris Ling | 34cfd2e | 2017-02-03 16:16:42 -0800 | [diff] [blame] | 110 | |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 111 | <PreferenceCategory |
Qi Cao | 17ff2b2 | 2022-01-27 14:51:35 -0800 | [diff] [blame] | 112 | android:key="pointer_category" |
anitalin | a08e272 | 2018-03-21 09:34:17 +0800 | [diff] [blame] | 113 | android:layout="@layout/preference_category_no_label"> |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 114 | <com.android.settings.PointerSpeedPreference |
| 115 | android:key="pointer_speed" |
| 116 | android:title="@string/pointer_speed" |
Fan Zhang | 7d7a9b1 | 2018-04-12 13:14:57 +0800 | [diff] [blame] | 117 | android:dialogTitle="@string/pointer_speed" /> |
Doris Ling | 34cfd2e | 2017-02-03 16:16:42 -0800 | [diff] [blame] | 118 | </PreferenceCategory> |
| 119 | |
Fan Zhang | 7d7a9b1 | 2018-04-12 13:14:57 +0800 | [diff] [blame] | 120 | <SwitchPreference |
| 121 | android:key="vibrate_input_devices" |
| 122 | android:title="@string/vibrate_input_devices" |
| 123 | android:summary="@string/vibrate_input_devices_summary" |
| 124 | settings:controller="com.android.settings.inputmethod.GameControllerPreferenceController" /> |
Fan Zhang | a1d1d67 | 2016-11-07 15:12:52 -0800 | [diff] [blame] | 125 | |
Yohei Yukawa | bcb87f74 | 2019-01-25 10:14:45 -0800 | [diff] [blame] | 126 | <com.android.settings.widget.WorkOnlyCategory |
| 127 | android:key="language_and_input_for_work_category" |
Sunny Shao | 6414137 | 2019-03-07 17:10:42 +0800 | [diff] [blame] | 128 | android:title="@string/language_and_input_for_work_category_title" |
| 129 | settings:searchable="false"> |
Yohei Yukawa | bcb87f74 | 2019-01-25 10:14:45 -0800 | [diff] [blame] | 130 | |
| 131 | <Preference |
Yohei Yukawa | bcb87f74 | 2019-01-25 10:14:45 -0800 | [diff] [blame] | 132 | android:key="spellcheckers_settings_for_work_pref" |
| 133 | android:title="@string/spellcheckers_settings_for_work_title" |
| 134 | android:fragment="com.android.settings.inputmethod.SpellCheckersSettings" |
Raff Tsai | f71db73 | 2019-12-02 10:55:29 +0800 | [diff] [blame] | 135 | settings:forWork="true" |
Raff Tsai | 5ec8efe | 2019-12-13 16:46:33 +0800 | [diff] [blame] | 136 | settings:controller="com.android.settings.core.WorkPreferenceController" /> |
Yohei Yukawa | bcb87f74 | 2019-01-25 10:14:45 -0800 | [diff] [blame] | 137 | |
| 138 | <Preference |
| 139 | android:key="user_dictionary_settings_for_work_pref" |
| 140 | android:title="@string/user_dict_settings_for_work_title" |
| 141 | android:fragment="com.android.settings.inputmethod.UserDictionaryList" |
Raff Tsai | f71db73 | 2019-12-02 10:55:29 +0800 | [diff] [blame] | 142 | settings:forWork="true" |
Yohei Yukawa | bcb87f74 | 2019-01-25 10:14:45 -0800 | [diff] [blame] | 143 | settings:controller="com.android.settings.inputmethod.SpellCheckerForWorkPreferenceController" /> |
| 144 | </com.android.settings.widget.WorkOnlyCategory> |
| 145 | |
Philip Quinn | a9831d4 | 2017-02-13 20:07:09 -0800 | [diff] [blame] | 146 | </PreferenceScreen> |