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 android:title="@string/system_ui_tuner"> 19 20 <Preference 21 android:key="qs_tuner" 22 android:title="@string/quick_settings" /> 23 24 <PreferenceScreen 25 android:title="@string/status_bar" > 26 27 <com.android.systemui.tuner.StatusBarSwitch 28 android:key="cast" 29 android:title="@string/quick_settings_cast_title" /> 30 31 <com.android.systemui.tuner.StatusBarSwitch 32 android:key="hotspot" 33 android:title="@string/quick_settings_hotspot_label" /> 34 35 <com.android.systemui.tuner.StatusBarSwitch 36 android:key="bluetooth" 37 android:title="@string/quick_settings_bluetooth_label" /> 38 39 <com.android.systemui.tuner.StatusBarSwitch 40 android:key="zen" 41 android:title="@string/quick_settings_dnd_label" /> 42 43 <com.android.systemui.tuner.StatusBarSwitch 44 android:key="alarm_clock" 45 android:title="@string/status_bar_alarm" /> 46 47 <com.android.systemui.tuner.StatusBarSwitch 48 android:key="managed_profile" 49 android:title="@string/status_bar_work" /> 50 51 <com.android.systemui.tuner.StatusBarSwitch 52 android:key="wifi" 53 android:title="@string/quick_settings_wifi_label" /> 54 55 <com.android.systemui.tuner.StatusBarSwitch 56 android:key="ethernet" 57 android:title="@string/status_bar_ethernet" /> 58 59 <com.android.systemui.tuner.StatusBarSwitch 60 android:key="mobile" 61 android:title="@string/quick_settings_cellular_detail_title" /> 62 63 <com.android.systemui.tuner.StatusBarSwitch 64 android:key="airplane" 65 android:title="@string/status_bar_airplane" /> 66 67 </PreferenceScreen> 68 69 <SwitchPreference 70 android:key="battery_pct" 71 android:title="@string/show_battery_percentage" 72 android:summary="@string/show_battery_percentage_summary" 73 android:persistent="false" /> 74 75 <Preference 76 android:key="demo_mode" 77 android:title="@string/demo_mode" /> 78 79 <Preference 80 android:summary="@string/tuner_persistent_warning" 81 android:selectable="false" /> 82 83 </PreferenceScreen> 84