Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@navczydev
Last active October 8, 2021 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save navczydev/0ae30fd099e6c3bf6d1f6487144567bb to your computer and use it in GitHub Desktop.
Save navczydev/0ae30fd099e6c3bf6d1f6487144567bb to your computer and use it in GitHub Desktop.
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