use even lower alpha at radios and checkboxes
This commit is contained in:
parent
c514aaca13
commit
24fca0324f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue