OSDN Git Service

Merge tag 'android-6.0.1_r74' into HEAD
[android-x86/packages-apps-Settings.git] / res / xml / security_settings_pin.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2010 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 xmlns:android="http://schemas.android.com/apk/res/android"
18                   xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19                   android:title="@string/lock_settings_picker_title">
20
21     <PreferenceCategory
22         android:key="security_category"
23         android:title="@string/lock_settings_title">
24
25         <PreferenceScreen
26             android:key="unlock_set_or_change"
27             android:title="@string/unlock_set_unlock_launch_picker_title"
28             android:summary="@string/unlock_set_unlock_mode_pin"
29             settings:keywords="@string/keywords_lockscreen"
30             android:persistent="false"/>
31
32         <SwitchPreference
33             android:key="directlyshow"
34             android:persistent="false"
35             android:title="@string/lock_directly_show_pin"/>
36
37         <com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference
38             android:key="lockscreen_scramble_pin_layout"
39             android:title="@string/unlock_scramble_pin_layout_title"
40             android:summary="@string/unlock_scramble_pin_layout_summary" />
41
42         <ListPreference
43             android:key="lock_after_timeout"
44             android:title="@string/lock_after_timeout"
45             android:summary="@string/lock_after_timeout_summary"
46             android:entries="@array/lock_after_timeout_entries"
47             android:entryValues="@array/lock_after_timeout_values"
48             android:persistent="false"/>
49
50         <SwitchPreference
51             android:key="power_button_instantly_locks"
52             android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/>
53
54         <Preference
55             android:key="manage_trust_agents"
56             android:title="@string/manage_trust_agents"
57             android:summary="@string/manage_trust_agents_summary"
58             android:persistent="false"
59             android:fragment="com.android.settings.TrustAgentSettings"/>
60
61     </PreferenceCategory>
62
63     <PreferenceCategory
64         android:key="general_category"
65         android:title="@string/title_general">
66
67         <com.android.settings.SingleLineSummaryPreference
68             android:key="owner_info_settings"
69             android:title="@string/owner_info_settings_title"
70             android:summary="@string/owner_info_settings_summary"/>
71
72         <PreferenceScreen
73             android:key="lockscreen_shortcuts_settings"
74             android:title="@string/lockscreen_targets_message" >
75             <intent
76                 android:targetPackage="com.android.systemui"
77                 android:targetClass="com.android.systemui.cm.LockscreenShortcutsActivity" />
78         </PreferenceScreen>
79
80         <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
81             android:key="lockscreen_visualizer"
82             android:title="@string/lockscreen_visualizer_title"
83             android:defaultValue="true"/>
84
85         <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
86             android:key="lock_screen_blur_enabled"
87             android:title="@string/lockscreen_blur_enabled_title"
88             android:defaultValue="true"/>
89
90         <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
91             android:key="lock_screen_weather_enabled"
92             android:title="@string/lockscreen_weather_enabled_title"
93             android:defaultValue="false"/>
94
95         <PreferenceScreen
96             android:key="lockscreen_wallpaper"
97             android:title="@string/lockscreen_wallpaper_title" >
98             <intent
99                 android:action="android.intent.action.SET_KEYGUARD_WALLPAPER" />
100         </PreferenceScreen>
101
102     </PreferenceCategory>
103
104 </PreferenceScreen>