78 lines
3.4 KiB
XML
78 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 CherishOS 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/statusbar_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<Preference
|
|
android:key="network_traffic_settings"
|
|
android:title="@string/network_traffic_title"
|
|
android:summary="@string/network_traffic_summary"
|
|
android:fragment="com.cherish.settings.fragments.NetworkTrafficSettings" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/status_bar_icons_category_title">
|
|
|
|
<Preference
|
|
android:key="status_bar_icons"
|
|
android:title="@string/status_bar_icons_title"
|
|
android:summary="@string/status_bar_icons_summary">
|
|
<intent android:action="android.intent.action.MAIN"
|
|
android:targetPackage="com.android.systemui"
|
|
android:targetClass="com.android.systemui.tuner.StatusbarItemsActivity" />
|
|
</Preference>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="data_disabled_icon"
|
|
android:title="@string/data_disabled_icon_title"
|
|
android:summary="@string/data_disabled_icon_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="show_volte_icon"
|
|
android:title="@string/volte_switch_title"
|
|
android:summary="@string/volte_switch_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="volte_icon_style"
|
|
android:title="@string/volte_icon_style_title"
|
|
android:entries="@array/volte_icon_type_entries"
|
|
android:entryValues="@array/volte_icon_type_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0"
|
|
android:dependency="show_volte_icon"/>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="use_old_mobiletype"
|
|
android:title="@string/use_old_mobiletype_title"
|
|
android:summary="@string/use_old_mobiletype_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="show_fourg_icon"
|
|
android:title="@string/show_fourg_icon_title"
|
|
android:summary="@string/show_fourg_icon_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="roaming_indicator_icon"
|
|
android:title="@string/roaming_indicator_icon_title"
|
|
android:summary="@string/roaming_indicator_icon_summary"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|