2015-05-11 16:57:15 -04:00
|
|
|
<?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"
|
2015-08-18 12:33:50 -04:00
|
|
|
xmlns:sysui="http://schemas.android.com/apk/res-auto"
|
2015-05-29 11:11:29 -04:00
|
|
|
android:title="@string/system_ui_tuner">
|
2015-05-11 16:57:15 -04:00
|
|
|
|
2015-05-29 11:11:29 -04:00
|
|
|
<PreferenceScreen
|
2015-12-11 21:39:54 -05:00
|
|
|
android:key="status_bar"
|
2015-05-29 11:11:29 -04:00
|
|
|
android:title="@string/status_bar" >
|
|
|
|
|
2016-01-12 09:10:34 -05:00
|
|
|
<com.android.systemui.tuner.StatusBarSwitch
|
|
|
|
android:key="rotate"
|
|
|
|
android:title="@string/status_bar_settings_auto_rotation" />
|
|
|
|
|
|
|
|
<com.android.systemui.tuner.StatusBarSwitch
|
|
|
|
android:key="headset"
|
|
|
|
android:title="@string/headset" />
|
|
|
|
|
|
|
|
<com.android.systemui.tuner.StatusBarSwitch
|
|
|
|
android:key="managed_profile"
|
|
|
|
android:title="@string/status_bar_work" />
|
|
|
|
|
|
|
|
<!-- ime -->
|
|
|
|
<!-- sync_failing -->
|
|
|
|
<!-- sync_active -->
|
|
|
|
|
2015-05-29 11:11:29 -04:00
|
|
|
<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" />
|
|
|
|
|
2016-01-12 09:10:34 -05:00
|
|
|
<!-- nfc -->
|
|
|
|
<!-- tty -->
|
|
|
|
<!-- speakerphone -->
|
|
|
|
|
2015-05-29 11:11:29 -04:00
|
|
|
<com.android.systemui.tuner.StatusBarSwitch
|
|
|
|
android:key="zen"
|
|
|
|
android:title="@string/quick_settings_dnd_label" />
|
|
|
|
|
2016-01-12 09:10:34 -05:00
|
|
|
<!-- mute -->
|
2015-05-29 11:11:29 -04:00
|
|
|
|
|
|
|
<com.android.systemui.tuner.StatusBarSwitch
|
2016-01-12 09:10:34 -05:00
|
|
|
android:key="volume"
|
|
|
|
android:title="@*android:string/volume_unknown" />
|
2015-05-29 11:11:29 -04:00
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
2016-01-12 09:10:34 -05:00
|
|
|
<!-- other weird signal stuff -->
|
|
|
|
|
2016-02-09 21:50:36 -05:00
|
|
|
<com.android.systemui.tuner.BatteryPreference
|
|
|
|
android:title="@string/battery"
|
|
|
|
android:summary="%s"
|
|
|
|
android:entries="@array/battery_options" />
|
2016-01-12 09:10:34 -05:00
|
|
|
|
|
|
|
<com.android.systemui.tuner.StatusBarSwitch
|
|
|
|
android:key="alarm_clock"
|
|
|
|
android:title="@string/status_bar_alarm" />
|
|
|
|
|
|
|
|
<!-- secure -->
|
|
|
|
|
2016-02-09 21:50:36 -05:00
|
|
|
<com.android.systemui.tuner.ClockPreference
|
|
|
|
android:title="@string/tuner_time"
|
|
|
|
android:summary="%s"
|
|
|
|
android:entries="@array/clock_options" />
|
2016-02-03 22:18:45 -08:00
|
|
|
|
2015-11-12 11:32:21 -08:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2016-01-18 10:09:50 -05:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="volume_and_do_not_disturb"
|
|
|
|
android:title="@string/volume_and_do_not_disturb">
|
|
|
|
|
2016-02-24 16:24:55 -05:00
|
|
|
<!-- Action for this is
|
|
|
|
MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_PANEL -->
|
2016-01-18 10:09:50 -05:00
|
|
|
<com.android.systemui.tuner.TunerSwitch
|
|
|
|
android:key="sysui_show_full_zen"
|
2016-02-24 16:24:55 -05:00
|
|
|
android:title="@string/tuner_full_zen_title"
|
|
|
|
sysui:metricsAction="314" />
|
2016-01-18 10:09:50 -05:00
|
|
|
|
2016-02-24 16:24:55 -05:00
|
|
|
<!-- Action for this is
|
|
|
|
MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_SHORTCUT -->
|
2016-01-18 10:09:50 -05:00
|
|
|
<com.android.systemui.tuner.TunerSwitch
|
2016-02-09 21:50:36 -05:00
|
|
|
android:key="sysui_volume_down_silent,sysui_volume_up_silent"
|
|
|
|
android:title="@string/volume_dnd_silent"
|
2016-02-24 16:24:55 -05:00
|
|
|
sysui:defValue="true"
|
|
|
|
sysui:metricsAction="315" />
|
2016-01-18 10:09:50 -05:00
|
|
|
|
|
|
|
</PreferenceScreen>
|
2016-01-18 09:21:45 -05:00
|
|
|
|
2016-02-24 13:01:53 -05:00
|
|
|
<!--
|
2016-01-22 10:01:44 -05:00
|
|
|
<Preference
|
|
|
|
android:key="nav_bar"
|
|
|
|
android:title="@string/nav_bar"
|
|
|
|
android:fragment="com.android.systemui.tuner.NavBarTuner" />
|
2016-02-24 13:01:53 -05:00
|
|
|
-->
|
2016-01-22 10:01:44 -05:00
|
|
|
|
2016-04-06 20:31:05 -04:00
|
|
|
<Preference
|
|
|
|
android:key="other"
|
|
|
|
android:title="@string/other"
|
|
|
|
android:fragment="com.android.systemui.tuner.OtherPrefs" />
|
2016-02-09 21:50:36 -05:00
|
|
|
|
2015-08-13 15:42:28 -04:00
|
|
|
<!-- Warning, this goes last. -->
|
2015-07-16 08:58:15 -04:00
|
|
|
<Preference
|
|
|
|
android:summary="@string/tuner_persistent_warning"
|
|
|
|
android:selectable="false" />
|
|
|
|
|
2015-05-11 16:57:15 -04:00
|
|
|
</PreferenceScreen>
|