Created
October 1, 2021 05:56
-
-
Save sudo5in5k/eb0497a99c52f7ff6b07c9b4b3aa7b83 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
Row( | |
modifier = Modifier.fillMaxWidth().toggleable( | |
value = checkedState.value, | |
onValueChange = { checkedState.value = it }, | |
role = Role.Checkbox | |
) | |
.padding(8.dp), | |
horizontalArrangement = Arrangement.Center, | |
verticalAlignment = Alignment.CenterVertically | |
) { | |
Checkbox(modifier = Modifier | |
.semantics { contentDescription = "利用規約同意" } | |
.size(32.dp), | |
checked = checkedState.value, | |
onCheckedChange = null) | |
Text(text = "同意する", fontSize = 16.sp)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment