Cherish:Add a toggle for the new QS tint [2/2]

This commit is contained in:
Joey Huab
2020-03-09 22:41:49 +01:00
committed by ArtOS-Dev
parent fcf50d92ad
commit fcaaf0b399
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Nitrogen OS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -51,4 +51,7 @@
<!-- QS category -->
<string name="enable_clear_all_button">Replace clear all text with nice button</string>
<string name="enable_clear_all_button_summary">Show clear all notifications button in quick settings instead of default text one</string>
<string name="qs_bg_use_new_tint">QS tile colors</string>
<string name="qs_bg_use_new_tint_summary">Use accent color for qs tile icons and background</string>
</resources>

View File

@@ -18,6 +18,12 @@
android:title="@string/quicksettings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_new_tint"
android:title="@string/qs_bg_use_new_tint"
android:summary="@string/qs_bg_use_new_tint_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="dismiss_all_button"
android:icon="@drawable/ic_x"