rajesh
09/11/2021, 4:42 PMButton()
and fill it with white color, but it gets filled with theme's primary color and not the white color.
Button(
modifier = Modifier
.size(80.dp)
.clip(CircleShape)
.background(Color.White)
// .background(MaterialTheme.colors.surface) //It's also not working
.border(5.dp, Color.White, CircleShape),
onClick = { })
{
}
rajesh
09/11/2021, 4:42 PMrobercoding
09/11/2021, 4:55 PMrajesh
09/11/2021, 4:57 PMrobercoding
09/11/2021, 5:02 PMrobercoding
09/11/2021, 5:03 PMrobercoding
09/11/2021, 5:03 PMrobercoding
09/11/2021, 5:03 PMcolors = ButtonDefaults.buttonColors(
backgroundColor = Color.White
)
robercoding
09/11/2021, 5:03 PMrobercoding
09/11/2021, 5:03 PMButton(
modifier = Modifier
.size(80.dp)
.clip(CircleShape)
.background(Color.White)
// .background(MaterialTheme.colors.surface) //It's also not working
.border(5.dp, Color.White, CircleShape),
colors = ButtonDefaults.buttonColors(
backgroundColor = Color.White
),
onClick = { })
{
}
rajesh
09/11/2021, 7:51 PM