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/language_picker_title" 22 android:key="system_languages"> 23 24 <com.android.settingslib.widget.TopIntroPreference 25 android:title="@string/desc_introduction_of_language_picker" 26 android:persistent="false" 27 android:selectable="false"/> 28 29 <PreferenceCategory 30 android:title="@string/language_picker_category_title"> 31 <com.android.settingslib.widget.LayoutPreference 32 android:key="languages_picker" 33 android:layout="@layout/locale_order_list" /> 34 </PreferenceCategory> 35 36 <PreferenceCategory 37 android:key="key_category_terms_of_address" 38 android:title="@string/category_title_terms_of_address" 39 settings:controller="com.android.settings.localepicker.TermsOfAddressCategoryController"> 40 <Preference 41 android:key="key_terms_of_address" 42 android:title="@string/terms_of_address_title" 43 android:summary="@string/terms_of_address_summary" 44 settings:controller="com.android.settings.localepicker.TermsOfAddressController"/> 45 </PreferenceCategory> 46 47 <com.android.settingslib.widget.FooterPreference 48 android:key="footer_languages_picker" 49 android:title="@string/desc_notice_of_language_picker" 50 android:persistent="false" 51 android:selectable="false" 52 settings:controller="com.android.settings.localepicker.LocaleHelperPreferenceController"/> 53 54</PreferenceScreen> 55