1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2022 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
18<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:settings="http://schemas.android.com/apk/res-auto"
21    android:title="@string/languages_settings">
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/system_language"
28            android:fragment="com.android.settings.localepicker.LocaleListEditor"
29            settings:controller="com.android.settings.language.PhoneLanguagePreferenceController" />
30        <Preference
31            android:key="apps_language"
32            android:title="@string/app_locales_picker_menu_title"
33            android:summary="@string/app_locale_picker_summary"
34            android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
35            settings:controller="com.android.settings.applications.appinfo.ManageAppLocalePreferenceController">
36            <extra
37                android:name="classname"
38                android:value="com.android.settings.applications.appinfo.AppLocaleDetails" />
39        </Preference>
40
41        <Preference
42            android:key="regional_preferences"
43            android:title="@string/regional_preferences_title"
44            android:summary="@string/regional_preferences_summary"
45            android:fragment="com.android.settings.regionalpreferences.RegionalPreferencesEntriesFragment"
46            settings:controller="com.android.settings.regionalpreferences.RegionalPreferencesController" />
47
48    </PreferenceCategory>
49
50    <PreferenceCategory
51        android:key="speech_category"
52        android:title="@string/speech_category_title">
53        <com.android.settings.widget.GearPreference
54            android:key="voice_input_settings"
55            android:title="@string/voice_input_settings_title"
56            android:fragment="com.android.settings.language.DefaultVoiceInputPicker" />
57
58        <Preference
59            android:key="on_device_recognition_settings"
60            android:title="@string/on_device_recognition_settings_title"
61            android:summary="@string/on_device_recognition_settings_summary"
62            settings:controller=
63                "com.android.settings.language.OnDeviceRecognitionPreferenceController" />
64
65        <Preference
66            android:key="tts_settings_summary"
67            android:title="@string/tts_settings_title"
68            android:fragment="com.android.settings.tts.TextToSpeechSettings"
69            settings:searchable="false"/>
70    </PreferenceCategory>
71</PreferenceScreen>