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:key="accessibility_control_timeout_preference" 22 android:title="@string/accessibility_control_timeout_preference_title" 23 android:persistent="false" > 24 25 <com.android.settings.widget.VideoPreference 26 android:key="accessibility_control_timeout_video" 27 android:title="@string/summary_placeholder" 28 settings:animation="@raw/accessibility_timeout" 29 settings:preview="@drawable/accessibility_timeout" 30 settings:controller="com.android.settings.widget.VideoPreferenceController" 31 android:persistent="false" /> 32 33 <com.android.settings.widget.RadioButtonPreference 34 android:key="accessibility_control_timeout_default" 35 android:title="@string/accessibility_timeout_default" 36 settings:allowDividerAbove="true" 37 android:persistent="false" /> 38 39 <com.android.settings.widget.RadioButtonPreference 40 android:key="accessibility_control_timeout_10secs" 41 android:title="@string/accessibility_timeout_10secs" 42 android:persistent="false" /> 43 44 <com.android.settings.widget.RadioButtonPreference 45 android:key="accessibility_control_timeout_30secs" 46 android:title="@string/accessibility_timeout_30secs" 47 android:persistent="false" /> 48 49 <com.android.settings.widget.RadioButtonPreference 50 android:key="accessibility_control_timeout_1min" 51 android:title="@string/accessibility_timeout_1min" 52 android:persistent="false" /> 53 54 <com.android.settings.widget.RadioButtonPreference 55 android:key="accessibility_control_timeout_2mins" 56 android:title="@string/accessibility_timeout_2mins" 57 android:persistent="false" /> 58 59 <com.android.settingslib.widget.FooterPreference 60 android:title="@string/accessibility_control_timeout_preference_summary" 61 android:selectable="false" /> 62 63</PreferenceScreen> 64