use even lower alpha at radios and checkboxes

This commit is contained in:
tibbi 2022-03-21 20:02:03 +01:00
parent c514aaca13
commit 24fca0324f
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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
}