The Icon
applies a default tint based on LocalContentColor.current
that is Black
by default.
Use tint= Color.Unspecified
to avoid it:
Icon(
painter = painterResource(id = R.drawable.ic_google_logo),
contentDescription = "Google Button",
tint= Color.Unspecified
)
The other option is to use an Image
instead of an Icon
.