Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Icon(
imageVector = Icons.Default.Close,
contentDescription = stringResource(R.string.cd_show_fewer),
modifier = Modifier
.clickable { openDialog = true }
.padding(12.dp) // adding 12 dp padding helps us to meet the requirements of 48dp touch target size
.size(24.dp)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment