1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2018 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 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:title="@string/system_keyboard_autofill"> 20 21 <!-- Cannot put children under keyboardCategory because we want to hide category without hiding children --> 22 <PreferenceCategory 23 android:key="keyboardCategory" 24 android:order="0" 25 android:title="@string/system_keyboard" 26 android:layout="@layout/preference_category_compact_layout"> 27 </PreferenceCategory> 28 29 <ListPreference 30 android:key="currentKeyboard" 31 android:order="1" 32 android:dialogTitle="@string/title_current_keyboard" 33 android:title="@string/title_current_keyboard" 34 android:summary="%s" /> 35 36 <!-- List of input methods are inserted here with order=2 --> 37 38 <Preference 39 android:fragment="com.android.tv.settings.inputmethod.AvailableVirtualKeyboardFragment" 40 android:key="manageKeyboards" 41 android:order="3" 42 android:title="@string/manage_keyboards"/> 43 44 <PreferenceCategory 45 android:order="4" 46 android:key="autofillCategory" 47 android:title="@string/system_autofill" 48 android:layout="@layout/preference_category_compact_layout"> 49 50 <Preference 51 android:key="currentAutofill" 52 android:title="@string/title_current_autofill_service" 53 android:fragment="com.android.tv.settings.autofill.AutofillPickerFragment" 54 android:summary="%s" /> 55 56 </PreferenceCategory> 57 58</PreferenceScreen> 59