Evan Laird | 227affa | 2017-03-22 11:36:18 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 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" |
Fan Zhang | 6269e50 | 2018-07-12 13:22:23 -0700 | [diff] [blame] | 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Fan Zhang | 6269e50 | 2018-07-12 13:22:23 -0700 | [diff] [blame] | 20 | android:title="@string/screensaver_settings_title"> |
Evan Laird | 227affa | 2017-03-22 11:36:18 -0400 | [diff] [blame] | 21 | |
| 22 | <com.android.settings.widget.GearPreference |
| 23 | android:key="current_screensaver" |
| 24 | android:title="@string/screensaver_settings_current" |
Fan Zhang | 6269e50 | 2018-07-12 13:22:23 -0700 | [diff] [blame] | 25 | android:fragment="com.android.settings.dream.CurrentDreamPicker" |
| 26 | settings:controller="com.android.settings.dream.CurrentDreamPreferenceController" /> |
Evan Laird | 227affa | 2017-03-22 11:36:18 -0400 | [diff] [blame] | 27 | |
| 28 | <Preference |
| 29 | android:key="when_to_start" |
| 30 | android:title="@string/screensaver_settings_when_to_dream" |
| 31 | android:fragment="com.android.settings.dream.WhenToDreamPicker" /> |
| 32 | |
| 33 | |
| 34 | <!-- Layout preference doesn't obey allowDividerAbove, so put it in a PreferenceCategory --> |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 35 | <PreferenceCategory |
| 36 | android:key="dream_start_now_category"> |
tmfang | dce94bb | 2018-11-26 18:41:01 +0800 | [diff] [blame] | 37 | <com.android.settingslib.widget.LayoutPreference |
Evan Laird | 227affa | 2017-03-22 11:36:18 -0400 | [diff] [blame] | 38 | android:key="dream_start_now_button_container" |
| 39 | android:selectable="false" |
| 40 | android:layout="@layout/dream_start_button" /> |
| 41 | </PreferenceCategory> |
| 42 | |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 43 | </PreferenceScreen> |