• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
19    <com.android.launcher3.views.ButtonPreference
20        android:key="pref_icon_badging"
21        android:title="@string/icon_badging_title"
22        android:persistent="false"
23        android:widgetLayout="@layout/notification_pref_warning" >
24        <intent android:action="android.settings.NOTIFICATION_SETTINGS">
25            <!-- This extra highlights the "Allow icon badges" field in Notification settings -->
26            <extra
27                android:name=":settings:fragment_args_key"
28                android:value="notification_badging" />
29        </intent>
30    </com.android.launcher3.views.ButtonPreference>
31
32    <SwitchPreference
33        android:key="pref_add_icon_to_home"
34        android:title="@string/auto_add_shortcuts_label"
35        android:summary="@string/auto_add_shortcuts_description"
36        android:defaultValue="true"
37        android:persistent="true" />
38
39    <SwitchPreference
40        android:key="pref_allowRotation"
41        android:title="@string/allow_rotation_title"
42        android:summary="@string/allow_rotation_desc"
43        android:defaultValue="@bool/allow_rotation"
44        android:persistent="true" />
45
46    <ListPreference
47        android:key="pref_override_icon_shape"
48        android:title="@string/icon_shape_override_label"
49        android:summary="%s"
50        android:entries="@array/icon_shape_override_paths_names"
51        android:entryValues="@array/icon_shape_override_paths_values"
52        android:defaultValue=""
53        android:persistent="false" />
54
55</PreferenceScreen>
56