From 8bd9f17e203960939c790d9bbfc22350002e41ff Mon Sep 17 00:00:00 2001 From: X1nto Date: Tue, 15 Dec 2020 12:23:27 +0400 Subject: [PATCH] Changed RGB wheel to HSL --- .../ui/dialogs/ManagerAccentColorDialog.kt | 4 ++++ .../res/drawable/ic_baseline_close_24.xml | 10 ++++++++++ .../layout/dialog_manager_accent_color.xml | 20 +++++++++++++++++-- app/src/main/res/layout/view_app_checkbox.xml | 2 +- 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/drawable/ic_baseline_close_24.xml diff --git a/app/src/main/java/com/vanced/manager/ui/dialogs/ManagerAccentColorDialog.kt b/app/src/main/java/com/vanced/manager/ui/dialogs/ManagerAccentColorDialog.kt index a205b491..a7ba16d4 100644 --- a/app/src/main/java/com/vanced/manager/ui/dialogs/ManagerAccentColorDialog.kt +++ b/app/src/main/java/com/vanced/manager/ui/dialogs/ManagerAccentColorDialog.kt @@ -83,6 +83,10 @@ class ManagerAccentColorDialog : BindingDialogFragment + + diff --git a/app/src/main/res/layout/dialog_manager_accent_color.xml b/app/src/main/res/layout/dialog_manager_accent_color.xml index 84624c13..2686185e 100644 --- a/app/src/main/res/layout/dialog_manager_accent_color.xml +++ b/app/src/main/res/layout/dialog_manager_accent_color.xml @@ -1,21 +1,37 @@ + + - + android:layout_height="350dp" + app:lightness_radius_offset="40dp" + app:saturation_radius_offset="40dp"/> -