Vishal Bhandare
03/30/2023, 6:43 AMEganathan R
03/30/2023, 6:46 AMVishal Bhandare
03/30/2023, 6:46 AMEganathan R
03/30/2023, 6:47 AMVishal Bhandare
03/30/2023, 6:49 AMOutlinedButton(
modifier = modifier.size(size),
shape = shape,
onClick = onClick,
enabled = enabled,
colors = ButtonDefaults.buttonColors(
backgroundColor = backgroundColor,
)
) {
Icon(
painter = painterResource(id = icon),
contentDescription = null,
tint = tint,
modifier = modifier.size(24.dp) //this value can be anything
)
}
Eganathan R
03/30/2023, 6:52 AMVishal Bhandare
03/30/2023, 6:53 AMVishal Bhandare
03/30/2023, 6:54 AMVishal Bhandare
03/30/2023, 6:55 AMStylianos Gakis
03/30/2023, 9:36 AMIcon()
composable but outside of the button, does it look any different?Vishal Bhandare
03/30/2023, 11:56 AM