1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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:sysui="http://schemas.android.com/apk/res-auto" 19 android:title="@string/system_ui_tuner"> 20 21 <PreferenceScreen 22 android:key="status_bar" 23 android:title="@string/status_bar" > 24 25 <com.android.systemui.tuner.StatusBarSwitch 26 android:key="rotate" 27 android:title="@string/status_bar_settings_auto_rotation" /> 28 29 <com.android.systemui.tuner.StatusBarSwitch 30 android:key="headset" 31 android:title="@string/headset" /> 32 33 <com.android.systemui.tuner.StatusBarSwitch 34 android:key="managed_profile" 35 android:title="@string/status_bar_work" /> 36 37 <!-- ime --> 38 <!-- sync_failing --> 39 <!-- sync_active --> 40 41 <com.android.systemui.tuner.StatusBarSwitch 42 android:key="cast" 43 android:title="@string/quick_settings_cast_title" /> 44 45 <com.android.systemui.tuner.StatusBarSwitch 46 android:key="hotspot" 47 android:title="@string/quick_settings_hotspot_label" /> 48 49 <com.android.systemui.tuner.StatusBarSwitch 50 android:key="bluetooth" 51 android:title="@string/quick_settings_bluetooth_label" /> 52 53 <com.android.systemui.tuner.StatusBarSwitch 54 android:key="cameratoggle" 55 android:title="@string/quick_settings_camera_label" /> 56 57 <!-- nfc --> 58 <!-- tty --> 59 <!-- speakerphone --> 60 61 <com.android.systemui.tuner.StatusBarSwitch 62 android:key="zen" 63 android:title="@string/quick_settings_dnd_label" /> 64 65 <!-- mute --> 66 67 <com.android.systemui.tuner.StatusBarSwitch 68 android:key="volume" 69 android:title="@*android:string/volume_unknown" /> 70 71 <com.android.systemui.tuner.StatusBarSwitch 72 android:key="wifi" 73 android:title="@string/quick_settings_wifi_label" /> 74 75 <com.android.systemui.tuner.StatusBarSwitch 76 android:key="ethernet" 77 android:title="@string/status_bar_ethernet" /> 78 79 <com.android.systemui.tuner.StatusBarSwitch 80 android:key="mobile" 81 android:title="@string/quick_settings_cellular_detail_title" /> 82 83 <com.android.systemui.tuner.StatusBarSwitch 84 android:key="airplane" 85 android:title="@string/status_bar_airplane" /> 86 87 <!-- other weird signal stuff --> 88 89 <com.android.systemui.tuner.BatteryPreference 90 android:title="@string/battery" 91 android:summary="%s" 92 android:entries="@array/battery_options" /> 93 94 <com.android.systemui.tuner.StatusBarSwitch 95 android:key="alarm_clock" 96 android:title="@string/status_bar_alarm" /> 97 98 <!-- secure --> 99 100 <com.android.systemui.tuner.ClockPreference 101 android:title="@string/tuner_time" 102 android:summary="%s" 103 android:entries="@array/clock_options" /> 104 105 <com.android.systemui.tuner.TunerSwitch 106 android:key="low_priority" 107 android:title="@string/tuner_low_priority" 108 sysui:defValue="false" /> 109 110 </PreferenceScreen> 111 112 <PreferenceScreen 113 android:key="volume_and_do_not_disturb" 114 android:title="@string/volume_and_do_not_disturb"> 115 116 <!-- Action for this is 117 MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_SHORTCUT --> 118 <com.android.systemui.tuner.TunerSwitch 119 android:key="sysui_volume_down_silent,sysui_volume_up_silent" 120 android:title="@string/volume_dnd_silent" 121 sysui:defValue="true" 122 sysui:metricsAction="315" /> 123 124 </PreferenceScreen> 125 126 <PreferenceScreen 127 android:key="doze" 128 android:title="@string/tuner_doze"> 129 130 <com.android.systemui.tuner.TunerSwitch 131 android:key="doze_always_on" 132 android:title="@string/tuner_doze_always_on" 133 sysui:defValue="true" /> 134 135 </PreferenceScreen> 136 137 <Preference 138 android:key="nav_bar" 139 android:title="@string/nav_bar" 140 android:fragment="com.android.systemui.tuner.NavBarTuner" /> 141 142 <Preference 143 android:key="lockscreen" 144 android:title="@string/tuner_lock_screen" 145 android:fragment="com.android.systemui.tuner.LockscreenFragment" /> 146 147 <Preference 148 android:key="plugins" 149 android:title="@string/plugins" 150 android:fragment="com.android.systemui.tuner.PluginFragment" /> 151 152 <!-- Warning, this goes last. --> 153 <Preference 154 android:summary="@string/tuner_persistent_warning" 155 android:selectable="false" /> 156 157</PreferenceScreen> 158