1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:title="@string/accessibility_autoclick_preference_title"> 21 22 <com.android.settingslib.widget.TopIntroPreference 23 android:key="accessibility_autoclick_intro" 24 android:title="@string/accessibility_autoclick_intro_text"/> 25 26 <com.android.settingslib.widget.IllustrationPreference 27 android:key="accessibility_autoclick_banner" 28 android:selectable="false" 29 settings:searchable="false" 30 settings:lottie_rawRes="@drawable/accessibility_dwell"/> 31 32 <com.android.settingslib.widget.SelectorWithWidgetPreference 33 android:key="accessibility_control_autoclick_default" 34 android:title="@string/accessibility_autoclick_default_title" 35 settings:controller="com.android.settings.accessibility.ToggleAutoclickPreferenceController"/> 36 37 <com.android.settingslib.widget.SelectorWithWidgetPreference 38 android:key="accessibility_control_autoclick_200ms" 39 android:title="@string/accessibility_autoclick_short_title" 40 android:summary="@string/accessibility_autoclick_short_summary" 41 settings:controller="com.android.settings.accessibility.ToggleAutoclickPreferenceController"/> 42 43 <com.android.settingslib.widget.SelectorWithWidgetPreference 44 android:key="accessibility_control_autoclick_600ms" 45 android:title="@string/accessibility_autoclick_medium_title" 46 android:summary="@string/accessibility_autoclick_medium_summary" 47 settings:controller="com.android.settings.accessibility.ToggleAutoclickPreferenceController"/> 48 49 <com.android.settingslib.widget.SelectorWithWidgetPreference 50 android:key="accessibility_control_autoclick_1sec" 51 android:title="@string/accessibility_autoclick_long_title" 52 android:summary="@string/accessibility_autoclick_long_summary" 53 settings:controller="com.android.settings.accessibility.ToggleAutoclickPreferenceController"/> 54 55 <com.android.settingslib.widget.SelectorWithWidgetPreference 56 android:key="accessibility_control_autoclick_custom" 57 android:title="@string/accessibility_autoclick_custom_title" 58 settings:controller="com.android.settings.accessibility.ToggleAutoclickPreferenceController"/> 59 60 <com.android.settingslib.widget.LayoutPreference 61 android:key="autoclick_custom_seekbar" 62 android:layout="@layout/accessibility_autoclick_custom_seekbar" 63 android:selectable="false" 64 android:visibility="gone" 65 settings:controller="com.android.settings.accessibility.ToggleAutoclickCustomSeekbarController"/> 66 67 <com.android.settings.accessibility.AccessibilityFooterPreference 68 android:key="accessibility_autoclick_footer" 69 android:title="@string/accessibility_autoclick_description" 70 android:selectable="false" 71 settings:searchable="false" 72 settings:controller="com.android.settings.accessibility.ToggleAutoclickFooterPreferenceController"/> 73</PreferenceScreen> 74