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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:title="@string/accessibility_control_timeout_preference_title" 22 android:persistent="false" > 23 24 <com.android.settingslib.widget.IllustrationPreference 25 android:key="accessibility_control_timeout_banner" 26 settings:lottie_rawRes="@raw/accessibility_timeout_banner"/> 27 28 <com.android.settingslib.widget.RadioButtonPreference 29 android:key="accessibility_control_timeout_default" 30 android:title="@string/accessibility_timeout_default" 31 settings:allowDividerAbove="true" 32 android:persistent="false" /> 33 34 <com.android.settingslib.widget.RadioButtonPreference 35 android:key="accessibility_control_timeout_10secs" 36 android:title="@string/accessibility_timeout_10secs" 37 android:persistent="false" /> 38 39 <com.android.settingslib.widget.RadioButtonPreference 40 android:key="accessibility_control_timeout_30secs" 41 android:title="@string/accessibility_timeout_30secs" 42 android:persistent="false" /> 43 44 <com.android.settingslib.widget.RadioButtonPreference 45 android:key="accessibility_control_timeout_1min" 46 android:title="@string/accessibility_timeout_1min" 47 android:persistent="false" /> 48 49 <com.android.settingslib.widget.RadioButtonPreference 50 android:key="accessibility_control_timeout_2mins" 51 android:title="@string/accessibility_timeout_2mins" 52 android:persistent="false" /> 53 54 <com.android.settings.accessibility.AccessibilityFooterPreference 55 android:key="accessibility_control_timeout_footer" 56 android:title="@string/accessibility_control_timeout_preference_summary" 57 android:persistent="false" 58 android:selectable="false" 59 settings:searchable="false" 60 settings:controller="com.android.settings.accessibility.AccessibilityControlTimeoutFooterPreferenceController"/> 61</PreferenceScreen> 62