1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 Google Inc.
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<androidx.preference.PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android">
19
20    <com.android.launcher3.settings.NotificationDotsPreference
21        android:key="pref_icon_badging"
22        android:title="@string/notification_dots_title"
23        android:persistent="false"
24        android:widgetLayout="@layout/notification_pref_warning" >
25        <intent android:action="android.settings.NOTIFICATION_SETTINGS">
26            <!-- This extra highlights the "Allow notification dots" field in Notification settings -->
27            <extra
28                android:name=":settings:fragment_args_key"
29                android:value="notification_badging" />
30        </intent>
31    </com.android.launcher3.settings.NotificationDotsPreference>
32
33    <SwitchPreference
34        android:key="pref_add_icon_to_home"
35        android:title="@string/auto_add_shortcuts_label"
36        android:summary="@string/auto_add_shortcuts_description"
37        android:defaultValue="true"
38        android:persistent="true" />
39
40    <SwitchPreference
41        android:key="pref_allowRotation"
42        android:title="@string/allow_rotation_title"
43        android:summary="@string/allow_rotation_desc"
44        android:defaultValue="@bool/allow_rotation"
45        android:persistent="true" />
46
47    <SwitchPreference
48        android:key="pref_grid_options"
49        android:title="Enable grid options"
50        android:defaultValue="false"
51        android:persistent="true" />
52
53    <androidx.preference.PreferenceScreen
54        android:key="pref_developer_options"
55        android:persistent="false"
56        android:title="Developer Options"
57        android:fragment="com.android.launcher3.settings.DeveloperOptionsFragment"/>
58
59</androidx.preference.PreferenceScreen>
60