| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2022 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <PreferenceScreen |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:settings="http://schemas.android.com/apk/res-auto" |
| android:title="@string/languages_settings"> |
| <PreferenceCategory |
| android:key="languages_category" |
| android:title="@string/locale_picker_category_title"> |
| <Preference |
| android:key="phone_language" |
| android:title="@string/system_language" |
| android:fragment="com.android.settings.localepicker.LocaleListEditor" |
| settings:controller="com.android.settings.language.PhoneLanguagePreferenceController" /> |
| <Preference |
| android:key="apps_language" |
| android:title="@string/app_locales_picker_menu_title" |
| android:summary="@string/app_locale_picker_summary" |
| android:fragment="com.android.settings.applications.manageapplications.ManageApplications" |
| settings:controller="com.android.settings.applications.appinfo.ManageAppLocalePreferenceController"> |
| <extra |
| android:name="classname" |
| android:value="com.android.settings.applications.appinfo.AppLocaleDetails" /> |
| </Preference> |
| |
| <Preference |
| android:key="regional_preferences" |
| android:title="@string/regional_preferences_title" |
| android:summary="@string/regional_preferences_summary" |
| android:fragment="com.android.settings.regionalpreferences.RegionalPreferencesEntriesFragment" |
| settings:controller="com.android.settings.regionalpreferences.RegionalPreferencesController" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="speech_category" |
| android:title="@string/speech_category_title"> |
| <com.android.settings.widget.GearPreference |
| android:key="voice_input_settings" |
| android:title="@string/voice_input_settings_title" |
| android:fragment="com.android.settings.language.DefaultVoiceInputPicker" /> |
| |
| <Preference |
| android:key="on_device_recognition_settings" |
| android:title="@string/on_device_recognition_settings_title" |
| android:summary="@string/on_device_recognition_settings_summary" |
| settings:controller= |
| "com.android.settings.language.OnDeviceRecognitionPreferenceController" /> |
| |
| <Preference |
| android:key="tts_settings_summary" |
| android:title="@string/tts_settings_title" |
| android:fragment="com.android.settings.tts.TextToSpeechSettings" |
| settings:searchable="false"/> |
| </PreferenceCategory> |
| </PreferenceScreen> |