OSDN Git Service

301bef104d789e5188a1be8d8df3ca83c03728b8
[android-x86/packages-apps-Launcher3.git] / res / xml / launcher_preferences.xml
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     <SwitchPreference
20             android:key="pref_allowRotation"
21             android:title="@string/allow_rotation_title"
22             android:defaultValue="@bool/allow_rotation"
23             android:persistent="true"
24     />
25
26     <SwitchPreference
27         android:key="pref_add_icon_to_home"
28         android:title="@string/auto_add_shortcuts_label"
29         android:summary="@string/auto_add_shortcuts_description"
30         android:defaultValue="true"
31         android:persistent="true"
32         />
33
34     <ListPreference
35         android:key="pref_override_icon_shape"
36         android:title="@string/icon_shape_override_label"
37         android:summary="%s"
38         android:entries="@array/icon_shape_override_paths_names"
39         android:entryValues="@array/icon_shape_override_paths_values"
40         android:defaultValue=""
41         android:persistent="false" />
42
43 </PreferenceScreen>