Cherish: Cleanup RGB Gradient Picker

Revert "Cherish:Introduce RGB Gradient Picker [2/2]"

This reverts commit b6057bf285.

Revert "Cherish: Introduce RGB Accenter [2/2]"

This reverts commit 22b278cc53.

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

This reverts commit f1acece8c1.
This commit is contained in:
Hưng Phan
2020-05-29 21:45:42 +07:00
committed by Hung Phan
parent 316e1eda31
commit fb845ece3b
6 changed files with 12 additions and 92 deletions

View File

@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<preferencesScreen
<PreferencesScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/gaming_mode_title">
@@ -59,15 +59,15 @@
android:summary="@string/gaming_mode_dynamic_summary"
android:defaultValue="false" />
<preferencesCategory
<PreferenceCategory
android:title="@string/gaming_mode_app_picker_title"
android:key="gamingmode_applications">
<preferences
<Preference
android:key="add_gamingmode_packages"
android:icon="@drawable/ic_menu_add_white"
android:title="@string/add_gaming_mode_package_title" />
</preferencesCategory>
</PreferenceCategory>
</preferencesScreen>
</PreferencesScreen>

View File

@@ -20,6 +20,13 @@
<PreferenceCategory
android:title="@string/qs_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_new_tint"
android:icon="@drawable/ic_accent_picker"
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="qs_blur"

View File

@@ -42,28 +42,6 @@
android:entryValues="@array/switch_style_values" />
</PreferenceCategory>
<PreferenceCategory
android:key="system_rgb_category"
android:title="@string/theme_rgb_title">
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="accent_color"
android:icon="@drawable/ic_accent_picker"
android:title="@string/accent_color"
android:summary="@string/accent_summary"
android:defaultValue="0xffffff"
android:persistent="false" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="gradient_color"
android:icon="@drawable/ic_accent_picker"
android:title="@string/gradient_color"
android:summary="@string/gradient_summary"
android:defaultValue="0xffffff"
android:persistent="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="rounded_corners_category"