This is how i create my button in compose
Button(
modifier = modifier,
enabled = enabled.value,
onClick = {}
) {
Text(text = text)
}
This is how i create my button in compose
Button(
modifier = modifier,
enabled = enabled.value,
onClick = {}
) {
Text(text = text)
}
Copyright © 2021 Jogjafile Inc.
The background color of the
Buttonis based on the colors defined in theButtonDefaults.buttonColors().A workaround is to define the same color to
disabledBackgroundColorandbackgroundColor.Something like: