Last active
October 8, 2021 02:16
-
-
Save navczydev/0ae30fd099e6c3bf6d1f6487144567bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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