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
23    <com.android.settingslib.widget.TopIntroPreference
24        android:key="accessibility_control_timeout_intro"
25        android:title="@string/accessibility_control_timeout_preference_intro_text"/>
26
27    <com.android.settingslib.widget.IllustrationPreference
28        android:key="accessibility_control_timeout_banner"
29        settings:lottie_rawRes="@raw/a11y_timeout_banner"/>
30
31    <com.android.settingslib.widget.SelectorWithWidgetPreference
32        android:key="accessibility_control_timeout_default"
33        android:title="@string/accessibility_timeout_default"
34        settings:controller="com.android.settings.accessibility.AccessibilityTimeoutController"/>
35
36    <com.android.settingslib.widget.SelectorWithWidgetPreference
37        android:key="accessibility_control_timeout_10secs"
38        android:title="@string/accessibility_timeout_10secs"
39        settings:controller="com.android.settings.accessibility.AccessibilityTimeoutController"/>
40
41    <com.android.settingslib.widget.SelectorWithWidgetPreference
42        android:key="accessibility_control_timeout_30secs"
43        android:title="@string/accessibility_timeout_30secs"
44        settings:controller="com.android.settings.accessibility.AccessibilityTimeoutController"/>
45
46    <com.android.settingslib.widget.SelectorWithWidgetPreference
47        android:key="accessibility_control_timeout_1min"
48        android:title="@string/accessibility_timeout_1min"
49        settings:controller="com.android.settings.accessibility.AccessibilityTimeoutController"/>
50
51    <com.android.settingslib.widget.SelectorWithWidgetPreference
52        android:key="accessibility_control_timeout_2mins"
53        android:title="@string/accessibility_timeout_2mins"
54        settings:controller="com.android.settings.accessibility.AccessibilityTimeoutController"/>
55
56    <com.android.settings.accessibility.AccessibilityFooterPreference
57        android:key="accessibility_control_timeout_footer"
58        android:title="@string/accessibility_control_timeout_preference_summary"
59        android:selectable="false"
60        settings:searchable="false"
61        settings:controller="com.android.settings.accessibility.AccessibilityControlTimeoutFooterPreferenceController"/>
62</PreferenceScreen>
63