blob: 3cb49f9cced79a45edf129d9e7d3952ad37dcf76 [file] [log] [blame]
Evan Laird227affa2017-03-22 11:36:18 -04001<?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 Zhang6269e502018-07-12 13:22:23 -070019 xmlns:settings="http://schemas.android.com/apk/res-auto"
Fan Zhang6269e502018-07-12 13:22:23 -070020 android:title="@string/screensaver_settings_title">
Evan Laird227affa2017-03-22 11:36:18 -040021
22 <com.android.settings.widget.GearPreference
23 android:key="current_screensaver"
24 android:title="@string/screensaver_settings_current"
Fan Zhang6269e502018-07-12 13:22:23 -070025 android:fragment="com.android.settings.dream.CurrentDreamPicker"
26 settings:controller="com.android.settings.dream.CurrentDreamPreferenceController" />
Evan Laird227affa2017-03-22 11:36:18 -040027
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 Zhang823dde52017-10-26 15:56:41 -070035 <PreferenceCategory
36 android:key="dream_start_now_category">
tmfangdce94bb2018-11-26 18:41:01 +080037 <com.android.settingslib.widget.LayoutPreference
Evan Laird227affa2017-03-22 11:36:18 -040038 android:key="dream_start_now_button_container"
39 android:selectable="false"
40 android:layout="@layout/dream_start_button" />
41 </PreferenceCategory>
42
Edgar Wang0934bab2020-02-06 11:40:42 +080043</PreferenceScreen>