Toni Barzic | 76be5e3 | 2015-08-18 10:30:08 -0700 | [diff] [blame] | 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 | |
Fan Zhang | af15522 | 2018-07-11 09:41:39 -0700 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Sunny Shao | 30cfc25 | 2019-08-15 13:44:54 +0800 | [diff] [blame] | 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Fan Zhang | af15522 | 2018-07-11 09:41:39 -0700 | [diff] [blame] | 20 | android:title="@string/accessibility_autoclick_preference_title"> |
Toni Barzic | 76be5e3 | 2015-08-18 10:30:08 -0700 | [diff] [blame] | 21 | |
menghanli | 9785c7e | 2020-03-13 20:36:16 +0800 | [diff] [blame] | 22 | <com.android.settingslib.widget.LayoutPreference |
| 23 | android:key="accessibility_autoclick_preview" |
| 24 | android:layout="@layout/accessibility_autoclick_preview" |
| 25 | android:persistent="false" |
| 26 | android:selectable="false" |
| 27 | android:title="@string/summary_placeholder" |
| 28 | settings:allowDividerBelow="true" |
| 29 | settings:searchable="false" /> |
| 30 | |
ChenJean | 7afc1fa | 2020-01-03 14:32:34 +0800 | [diff] [blame] | 31 | <com.android.settingslib.widget.RadioButtonPreference |
| 32 | android:key="accessibility_control_autoclick_default" |
| 33 | android:title="@string/accessibility_autoclick_default_title" |
| 34 | settings:allowDividerAbove="true" /> |
| 35 | |
| 36 | <com.android.settingslib.widget.RadioButtonPreference |
| 37 | android:key="accessibility_control_autoclick_200ms" |
| 38 | android:title="@string/accessibility_autoclick_short_title" |
| 39 | android:summary="@string/accessibility_autoclick_short_summary" /> |
| 40 | |
| 41 | <com.android.settingslib.widget.RadioButtonPreference |
| 42 | android:key="accessibility_control_autoclick_600ms" |
| 43 | android:title="@string/accessibility_autoclick_medium_title" |
| 44 | android:summary="@string/accessibility_autoclick_medium_summary" /> |
| 45 | |
| 46 | <com.android.settingslib.widget.RadioButtonPreference |
| 47 | android:key="accessibility_control_autoclick_1sec" |
| 48 | android:title="@string/accessibility_autoclick_long_title" |
| 49 | android:summary="@string/accessibility_autoclick_long_summary" /> |
| 50 | |
| 51 | <com.android.settingslib.widget.RadioButtonPreference |
| 52 | android:key="accessibility_control_autoclick_custom" |
| 53 | android:title="@string/accessibility_autoclick_custom_title" /> |
Toni Barzic | 76be5e3 | 2015-08-18 10:30:08 -0700 | [diff] [blame] | 54 | |
ChenJean | 62aab02 | 2020-02-05 19:08:38 +0800 | [diff] [blame] | 55 | <com.android.settingslib.widget.LayoutPreference |
| 56 | android:key="autoclick_custom_seekbar" |
| 57 | android:layout="@layout/accessibility_autoclick_custom_seekbar" |
| 58 | android:selectable="false" |
ChenJean | fb85c52 | 2020-02-13 15:14:48 +0800 | [diff] [blame] | 59 | android:visibility="gone" |
ChenJean | 62aab02 | 2020-02-05 19:08:38 +0800 | [diff] [blame] | 60 | settings:allowDividerBelow="true" |
| 61 | settings:controller="com.android.settings.accessibility.ToggleAutoclickCustomSeekbarController" /> |
Toni Barzic | 76be5e3 | 2015-08-18 10:30:08 -0700 | [diff] [blame] | 62 | |
Sunny Shao | 30cfc25 | 2019-08-15 13:44:54 +0800 | [diff] [blame] | 63 | <com.android.settingslib.widget.FooterPreference |
| 64 | android:key="autoclick_footer" |
| 65 | android:title="@string/accessibility_autoclick_description" |
| 66 | android:selectable="false" |
ChenJean | 62aab02 | 2020-02-05 19:08:38 +0800 | [diff] [blame] | 67 | settings:searchable="false" /> |
ChenJean | 7afc1fa | 2020-01-03 14:32:34 +0800 | [diff] [blame] | 68 | |
Toni Barzic | 76be5e3 | 2015-08-18 10:30:08 -0700 | [diff] [blame] | 69 | </PreferenceScreen> |