From 24fca0324ffd5857f20757734f6a8a845d5e2f81 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 21 Mar 2022 20:02:03 +0100 Subject: [PATCH] use even lower alpha at radios and checkboxes --- .../com/simplemobiletools/commons/views/MyAppCompatCheckbox.kt | 2 +- .../com/simplemobiletools/commons/views/MyCompatRadioButton.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyAppCompatCheckbox.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyAppCompatCheckbox.kt index 70f05fa08..d636a53d4 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyAppCompatCheckbox.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyAppCompatCheckbox.kt @@ -20,7 +20,7 @@ class MyAppCompatCheckbox : AppCompatCheckBox { intArrayOf(-android.R.attr.state_checked), intArrayOf(android.R.attr.state_checked) ), - intArrayOf(textColor.adjustAlpha(0.8f), accentColor) + intArrayOf(textColor.adjustAlpha(0.6f), accentColor) ) supportButtonTintList = colorStateList } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyCompatRadioButton.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyCompatRadioButton.kt index 869fa5db1..1541797ee 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyCompatRadioButton.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyCompatRadioButton.kt @@ -20,7 +20,7 @@ class MyCompatRadioButton : AppCompatRadioButton { intArrayOf(-android.R.attr.state_checked), intArrayOf(android.R.attr.state_checked) ), - intArrayOf(textColor.adjustAlpha(0.8f), accentColor) + intArrayOf(textColor.adjustAlpha(0.6f), accentColor) ) supportButtonTintList = colorStateList }