Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 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" |
Leon Liao | 064600b | 2018-12-06 16:39:09 +0800 | [diff] [blame] | 20 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Leon Liao | 7119c04 | 2018-11-22 11:17:31 +0800 | [diff] [blame] | 21 | android:title="@string/accessibility_control_timeout_preference_title" |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 22 | android:persistent="false" > |
| 23 | |
| 24 | <com.android.settings.widget.VideoPreference |
| 25 | android:key="accessibility_control_timeout_video" |
Leon Liao | 064600b | 2018-12-06 16:39:09 +0800 | [diff] [blame] | 26 | android:title="@string/summary_placeholder" |
Leon Liao | 06a37d9 | 2019-04-23 13:25:52 +0800 | [diff] [blame] | 27 | settings:animation="@raw/accessibility_timeout" |
| 28 | settings:preview="@drawable/accessibility_timeout" |
Leon Liao | 064600b | 2018-12-06 16:39:09 +0800 | [diff] [blame] | 29 | settings:controller="com.android.settings.widget.VideoPreferenceController" |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 30 | android:persistent="false" /> |
| 31 | |
Raff Tsai | 71a37d1 | 2019-07-31 15:32:41 +0800 | [diff] [blame] | 32 | <com.android.settingslib.widget.RadioButtonPreference |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 33 | android:key="accessibility_control_timeout_default" |
| 34 | android:title="@string/accessibility_timeout_default" |
Leon Liao | 064600b | 2018-12-06 16:39:09 +0800 | [diff] [blame] | 35 | settings:allowDividerAbove="true" |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 36 | android:persistent="false" /> |
| 37 | |
Raff Tsai | 71a37d1 | 2019-07-31 15:32:41 +0800 | [diff] [blame] | 38 | <com.android.settingslib.widget.RadioButtonPreference |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 39 | android:key="accessibility_control_timeout_10secs" |
| 40 | android:title="@string/accessibility_timeout_10secs" |
| 41 | android:persistent="false" /> |
| 42 | |
Raff Tsai | 71a37d1 | 2019-07-31 15:32:41 +0800 | [diff] [blame] | 43 | <com.android.settingslib.widget.RadioButtonPreference |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 44 | android:key="accessibility_control_timeout_30secs" |
| 45 | android:title="@string/accessibility_timeout_30secs" |
| 46 | android:persistent="false" /> |
| 47 | |
Raff Tsai | 71a37d1 | 2019-07-31 15:32:41 +0800 | [diff] [blame] | 48 | <com.android.settingslib.widget.RadioButtonPreference |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 49 | android:key="accessibility_control_timeout_1min" |
| 50 | android:title="@string/accessibility_timeout_1min" |
| 51 | android:persistent="false" /> |
| 52 | |
Raff Tsai | 71a37d1 | 2019-07-31 15:32:41 +0800 | [diff] [blame] | 53 | <com.android.settingslib.widget.RadioButtonPreference |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 54 | android:key="accessibility_control_timeout_2mins" |
| 55 | android:title="@string/accessibility_timeout_2mins" |
| 56 | android:persistent="false" /> |
| 57 | |
Leon Liao | 064600b | 2018-12-06 16:39:09 +0800 | [diff] [blame] | 58 | <com.android.settingslib.widget.FooterPreference |
| 59 | android:title="@string/accessibility_control_timeout_preference_summary" |
| 60 | android:selectable="false" /> |
| 61 | |
Leon Liao | fc29b1c | 2018-11-13 20:31:54 +0800 | [diff] [blame] | 62 | </PreferenceScreen> |