OSDN Git Service

d8459dd3c9f463cd3c67a0237169cc61851e889a
[android-x86/packages-apps-Settings.git] / res / xml / system_dashboard_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2016 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"
19     xmlns:settings="http://schemas.android.com/apk/res-auto"
20     android:key="system_dashboard_screen"
21     android:title="@string/header_category_system"
22     settings:initialExpandedChildrenCount="4">
23
24     <Preference
25         android:key="gesture_settings"
26         android:title="@string/gesture_preference_title"
27         android:icon="@drawable/ic_settings_gestures"
28         android:order="-250"
29         android:fragment="com.android.settings.gestures.GestureSettings"
30         settings:controller="com.android.settings.gestures.GesturesSettingPreferenceController"/>
31
32     <!-- Backup -->
33     <Preference
34         android:key="backup_settings"
35         android:title="@string/privacy_settings_title"
36         android:summary="@string/summary_placeholder"
37         android:icon="@drawable/ic_settings_backup"
38         android:order="-60"
39         settings:controller="com.android.settings.backup.BackupSettingsActivityPreferenceController">
40         <intent android:action="android.settings.BACKUP_AND_RESET_SETTINGS" />
41     </Preference>
42
43     <Preference
44         android:key="reset_dashboard"
45         android:title="@string/reset_dashboard_title"
46         android:summary="@string/reset_dashboard_summary"
47         android:icon="@drawable/ic_restore"
48         android:order="-50"
49         android:fragment="com.android.settings.system.ResetDashboardFragment" />
50
51     <!-- System updates -->
52     <Preference
53         android:key="system_update_settings"
54         android:title="@string/system_update_settings_list_item_title"
55         android:summary="@string/summary_placeholder"
56         android:icon="@drawable/ic_system_update"
57         android:order="-30"
58         settings:controller="com.android.settings.system.SystemUpdatePreferenceController">
59         <intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
60     </Preference>
61
62     <Preference
63         android:key="additional_system_update_settings"
64         android:title="@string/additional_system_update_settings_list_item_title"
65         android:order="-31"
66         settings:controller="com.android.settings.system.AdditionalSystemUpdatePreferenceController">
67         <intent android:action="android.intent.action.MAIN"
68                 android:targetPackage="@string/additional_system_update"
69                 android:targetClass="@string/additional_system_update_menu" />
70     </Preference>
71
72 </PreferenceScreen>