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 23 <Preference 24 android:key="language_input_settings" 25 android:title="@string/language_settings" 26 android:icon="@drawable/ic_settings_language" 27 android:order="-260" 28 android:fragment="com.android.settings.language.LanguageAndInputSettings"/> 29 30 <Preference 31 android:key="gesture_settings" 32 android:title="@string/gesture_preference_title" 33 android:icon="@drawable/ic_settings_gestures" 34 android:order="-250" 35 android:fragment="com.android.settings.gestures.GestureSettings" 36 settings:controller="com.android.settings.gestures.GesturesSettingPreferenceController"/> 37 38 <Preference 39 android:key="date_time_settings" 40 android:title="@string/date_and_time" 41 android:icon="@drawable/ic_settings_date_time" 42 android:order="-240" 43 android:fragment="com.android.settings.datetime.DateTimeSettings" 44 settings:controller="com.android.settings.datetime.DateTimePreferenceController"/> 45 46 <!-- System updates --> 47 <Preference 48 android:key="additional_system_update_settings" 49 android:title="@string/additional_system_update_settings_list_item_title" 50 android:order="-59" 51 settings:controller="com.android.settings.system.AdditionalSystemUpdatePreferenceController"> 52 <intent android:action="android.intent.action.MAIN" 53 android:targetPackage="@string/additional_system_update" 54 android:targetClass="@string/additional_system_update_menu"/> 55 </Preference> 56 57 <Preference 58 android:key="system_update_settings" 59 android:title="@string/system_update_settings_list_item_title" 60 android:summary="@string/summary_placeholder" 61 android:icon="@drawable/ic_system_update" 62 android:order="-58" 63 settings:keywords="@string/keywords_system_update_settings" 64 settings:controller="com.android.settings.system.SystemUpdatePreferenceController"> 65 <intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS"/> 66 </Preference> 67 68 <Preference 69 android:key="reset_dashboard" 70 android:title="@string/reset_dashboard_title" 71 android:icon="@drawable/ic_restore" 72 android:order="-30" 73 android:fragment="com.android.settings.system.ResetDashboardFragment" 74 settings:controller="com.android.settings.system.ResetPreferenceController"/> 75</PreferenceScreen> 76