Jason Monk 16ada3df30 Add demo mode to tuner
Allows turning on/off and setting to specific mode for screen shots.

Change-Id: Iee95aff17189dea7a77c493e9b396b9f21052ee8
2015-06-08 10:08:06 -04:00

80 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/system_ui_tuner">
<Preference
android:key="qs_tuner"
android:title="@string/quick_settings" />
<PreferenceScreen
android:title="@string/status_bar" >
<com.android.systemui.tuner.StatusBarSwitch
android:key="cast"
android:title="@string/quick_settings_cast_title" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="hotspot"
android:title="@string/quick_settings_hotspot_label" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="bluetooth"
android:title="@string/quick_settings_bluetooth_label" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="zen"
android:title="@string/quick_settings_dnd_label" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="alarm_clock"
android:title="@string/status_bar_alarm" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="managed_profile"
android:title="@string/status_bar_work" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="wifi"
android:title="@string/quick_settings_wifi_label" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="ethernet"
android:title="@string/status_bar_ethernet" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="mobile"
android:title="@string/quick_settings_cellular_detail_title" />
<com.android.systemui.tuner.StatusBarSwitch
android:key="airplane"
android:title="@string/status_bar_airplane" />
</PreferenceScreen>
<SwitchPreference
android:key="battery_pct"
android:title="@string/show_battery_percentage"
android:summary="@string/show_battery_percentage_summary"
android:persistent="false" />
<Preference
android:key="demo_mode"
android:title="@string/demo_mode" />
</PreferenceScreen>