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.IllustrationPreference 23 android:key="accessibility_autoclick_banner" 24 android:persistent="false" 25 android:selectable="false" 26 settings:allowDividerBelow="true" 27 settings:searchable="false" 28 settings:lottie_rawRes="@drawable/accessibility_dwell" /> 29 30 <com.android.settingslib.widget.RadioButtonPreference 31 android:key="accessibility_control_autoclick_default" 32 android:title="@string/accessibility_autoclick_default_title" 33 settings:allowDividerAbove="true" /> 34 35 <com.android.settingslib.widget.RadioButtonPreference 36 android:key="accessibility_control_autoclick_200ms" 37 android:title="@string/accessibility_autoclick_short_title" 38 android:summary="@string/accessibility_autoclick_short_summary" /> 39 40 <com.android.settingslib.widget.RadioButtonPreference 41 android:key="accessibility_control_autoclick_600ms" 42 android:title="@string/accessibility_autoclick_medium_title" 43 android:summary="@string/accessibility_autoclick_medium_summary" /> 44 45 <com.android.settingslib.widget.RadioButtonPreference 46 android:key="accessibility_control_autoclick_1sec" 47 android:title="@string/accessibility_autoclick_long_title" 48 android:summary="@string/accessibility_autoclick_long_summary" /> 49 50 <com.android.settingslib.widget.RadioButtonPreference 51 android:key="accessibility_control_autoclick_custom" 52 android:title="@string/accessibility_autoclick_custom_title" /> 53 54 <com.android.settingslib.widget.LayoutPreference 55 android:key="autoclick_custom_seekbar" 56 android:layout="@layout/accessibility_autoclick_custom_seekbar" 57 android:selectable="false" 58 android:visibility="gone" 59 settings:allowDividerBelow="true" 60 settings:controller="com.android.settings.accessibility.ToggleAutoclickCustomSeekbarController" /> 61 62 <com.android.settings.accessibility.AccessibilityFooterPreference 63 android:key="accessibility_autoclick_footer" 64 android:title="@string/accessibility_autoclick_description" 65 android:persistent="false" 66 android:selectable="false" 67 settings:searchable="false" 68 settings:controller="com.android.settings.accessibility.ToggleAutoclickFooterPreferenceController"/> 69</PreferenceScreen> 70