AquariOS:
Fixed color preferences to stick - @calebcabob
I'd like to thank and show respect to the following contributors for this
fantastic feature
Lokesh Chamane <lokesh.chamane@pac-rom.com>
SpiritCroc <spiritcroc@gmail.com>
westcripp <korukaltan@gmail.com>
commit fe5fa0cb0b74348d5e0e8172b17ab0f2d272dbf3
Author: Lokesh Chamane <lokesh.chamane@pac-rom.com>
Date: Thu Aug 4 23:37:17 2016 -0600
BatteryBar: Gradient Color [2/2]
Change-Id: If85baf2e724f9c6cdef868af323be039b47e49ad
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
commit 0f046e9887f547ff130a925d02d75d0a74b369f4
Author: SpiritCroc <spiritcroc@gmail.com>
Date: Mon May 2 02:52:00 2016 -0700
Battery bar enhancements [2/2]
Add color settings for charging & low battery
Add reversed alignment setting
Change-Id: I51f7e0499971ed344d8faa6e63d4f89558946cb7
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
commit be722a66ed4243831c48f45997a4cf1c442bc335
Author: westcripp <korukaltan@gmail.com>
Date: Sat Jan 10 04:14:45 2015 +0200
Settings: Add back batterybar [2/2]
Change-Id: I67b0a971fe9f0b6f5443d8ca7336d5e28e86bccd
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Change-Id: I4ad46c0e294b8fcf443926b5bb6d11930d981f91
@idoybh (DerpFest) edits:
* Improved and simplified the code
* Converted to a MasterSwitchPreference
* Added to settings search index
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
169 lines
7.4 KiB
XML
169 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen 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">
|
|
|
|
<PreferenceCategory
|
|
android:key="label"
|
|
android:title="@string/label_title">
|
|
|
|
<Preference
|
|
android:key="carrier_label"
|
|
android:icon="@drawable/ic_carrierlabel"
|
|
android:title="@string/carrier_label_settings_title"
|
|
android:summary="@string/carrier_label_settings_summary"
|
|
android:fragment="com.cherish.settings.fragments.CustomCarrierLabel" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="status_bar_icons"
|
|
android:title="@string/status_bar_system_icons_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="show_fourg_icon"
|
|
android:icon="@drawable/ic_4g"
|
|
android:title="@string/show_fourg_icon_title"
|
|
android:summary="@string/show_fourg_icon_summary"
|
|
android:defaultValue="false"/>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="use_old_mobiletype"
|
|
android:icon="@drawable/ic_4g_old"
|
|
android:title="@string/use_old_mobiletype_title"
|
|
android:summary="@string/use_old_mobiletype_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="volte_icon"
|
|
android:icon="@drawable/ic_volte"
|
|
android:title="@string/volte_icon_title"
|
|
android:summary="@string/volte_icon_summary"
|
|
android:defaultValue="true"/>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="volte_icon_style"
|
|
android:icon="@drawable/ic_4g_volte"
|
|
android:title="@string/volte_icon_style_title"
|
|
android:entries="@array/volte_icon_type_entries"
|
|
android:entryValues="@array/volte_icon_type_values"
|
|
android:dependency="volte_icon"
|
|
android:summary="%s"
|
|
android:defaultValue="0"/>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="vowifi_icon"
|
|
android:icon="@drawable/ic_vowifi"
|
|
android:title="@string/vowifi_icon_title"
|
|
android:entries="@array/vowifi_icon_entries"
|
|
android:entryValues="@array/vowifi_icon_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0"/>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="vowifi_icon_style"
|
|
android:icon="@drawable/ic_vowifi"
|
|
android:title="@string/vowifi_icon_style_title"
|
|
android:entries="@array/vowifi_icon_style_entries"
|
|
android:entryValues="@array/vowifi_icon_style_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0"/>
|
|
|
|
<Preference
|
|
android:title="@string/statusbar_items_title"
|
|
android:icon="@drawable/ic_shortcuts">
|
|
<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="network_traffic_state"
|
|
android:icon="@drawable/ic_network_traffic"
|
|
android:title="@string/network_traffic_state_title"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="network_traffic_autohide_threshold"
|
|
android:icon="@drawable/ic_network_traffic"
|
|
android:title="@string/network_traffic_autohide_threshold_title"
|
|
android:max="10"
|
|
settings:min="0"
|
|
settings:units="" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="network_traffic_hidearrow"
|
|
android:title="@string/network_traffic_hidearrow"
|
|
android:icon="@drawable/ic_arrow"
|
|
android:summary="@string/network_traffic_hidearrow_summary"
|
|
android:dependency="network_traffic_state"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
|
android:key="status_bar_clock"
|
|
android:icon="@drawable/ic_clock"
|
|
android:fragment="com.cherish.settings.fragments.ClockSettings"
|
|
android:title="@string/status_bar_clock_title"
|
|
android:summary="@string/status_bar_clock_summary"
|
|
android:defaultValue="true" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
|
|
android:key="battery_style_category"
|
|
android:title="@string/battery_style_category_title" >
|
|
|
|
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
|
android:key="battery_bar_settings"
|
|
android:icon="@drawable/ic_battery_bar"
|
|
android:title="@string/sb_battery_bar_title"
|
|
android:fragment="com.cherish.settings.fragments.BatteryBar" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="status_bar_battery_style"
|
|
android:icon="@drawable/ic_battery_styles"
|
|
android:title="@string/status_bar_battery_style_title"
|
|
android:summary="%s"
|
|
android:dialogTitle="@string/status_bar_battery_style_title"
|
|
android:entries="@array/status_bar_battery_style_entries"
|
|
android:entryValues="@array/status_bar_battery_style_values"
|
|
android:defaultValue="0" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="status_bar_show_battery_percent"
|
|
android:icon="@drawable/ic_battery_percent"
|
|
android:title="@string/battery_percent_title"
|
|
android:dialogTitle="@string/battery_percent_title"
|
|
android:entries="@array/battery_percent_entries"
|
|
android:entryValues="@array/battery_percent_values"
|
|
android:defaultValue="0" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:icon="@drawable/ic_battery_charging"
|
|
android:key="status_bar_battery_text_charging"
|
|
android:title="@string/status_bar_battery_text_charging_title"
|
|
android:summary="@string/status_bar_battery_text_charging_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="status_bar_battery_charging_bolt"
|
|
android:icon="@drawable/ic_lighting_bolt"
|
|
android:title="@string/status_bar_battery_charging_bolt_title"
|
|
android:summary="@string/status_bar_battery_charging_bolt_summary"
|
|
android:defaultValue="true" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |