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 <!-- nfc --> 54 <!-- tty --> 55 <!-- speakerphone --> 56 57 <com.android.systemui.tuner.StatusBarSwitch 58 android:key="zen" 59 android:title="@string/quick_settings_dnd_label" /> 60 61 <!-- mute --> 62 63 <com.android.systemui.tuner.StatusBarSwitch 64 android:key="volume" 65 android:title="@*android:string/volume_unknown" /> 66 67 <com.android.systemui.tuner.StatusBarSwitch 68 android:key="wifi" 69 android:title="@string/quick_settings_wifi_label" /> 70 71 <com.android.systemui.tuner.StatusBarSwitch 72 android:key="ethernet" 73 android:title="@string/status_bar_ethernet" /> 74 75 <com.android.systemui.tuner.StatusBarSwitch 76 android:key="mobile" 77 android:title="@string/quick_settings_cellular_detail_title" /> 78 79 <com.android.systemui.tuner.StatusBarSwitch 80 android:key="airplane" 81 android:title="@string/status_bar_airplane" /> 82 83 <!-- other weird signal stuff --> 84 85 <com.android.systemui.tuner.BatteryPreference 86 android:title="@string/battery" 87 android:summary="%s" 88 android:entries="@array/battery_options" /> 89 90 <com.android.systemui.tuner.StatusBarSwitch 91 android:key="alarm_clock" 92 android:title="@string/status_bar_alarm" /> 93 94 <!-- secure --> 95 96 <com.android.systemui.tuner.ClockPreference 97 android:title="@string/tuner_time" 98 android:summary="%s" 99 android:entries="@array/clock_options" /> 100 101 </PreferenceScreen> 102 103 <PreferenceScreen 104 android:key="volume_and_do_not_disturb" 105 android:title="@string/volume_and_do_not_disturb"> 106 107 <!-- Action for this is 108 MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_PANEL --> 109 <com.android.systemui.tuner.TunerSwitch 110 android:key="sysui_show_full_zen" 111 android:title="@string/tuner_full_zen_title" 112 sysui:metricsAction="314" /> 113 114 <!-- Action for this is 115 MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_SHORTCUT --> 116 <com.android.systemui.tuner.TunerSwitch 117 android:key="sysui_volume_down_silent,sysui_volume_up_silent" 118 android:title="@string/volume_dnd_silent" 119 sysui:defValue="true" 120 sysui:metricsAction="315" /> 121 122 </PreferenceScreen> 123 124 <PreferenceScreen 125 android:key="doze" 126 android:title="@string/tuner_doze"> 127 128 <com.android.systemui.tuner.TunerSwitch 129 android:key="doze_always_on" 130 android:title="@string/tuner_doze_always_on" 131 sysui:defValue="false" /> 132 133 </PreferenceScreen> 134 135 <Preference 136 android:key="nav_bar" 137 android:title="@string/nav_bar" 138 android:fragment="com.android.systemui.tuner.NavBarTuner" /> 139 140 <Preference 141 android:key="lockscreen" 142 android:title="@string/tuner_lock_screen" 143 android:fragment="com.android.systemui.tuner.LockscreenFragment" /> 144 145 <Preference 146 android:key="plugins" 147 android:title="@string/plugins" 148 android:fragment="com.android.systemui.tuner.PluginFragment" /> 149 150 <!-- Warning, this goes last. --> 151 <Preference 152 android:summary="@string/tuner_persistent_warning" 153 android:selectable="false" /> 154 155</PreferenceScreen> 156