We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL of codelab
9.4 (Add greeting to the app, Add padding to the signature and align it to the right.)
Describe the problem
says todo Text( text = from, fontSize = 36.sp, modifier = Modifier .padding(16.dp) .align(alignment = Alignment.End) ) but it doesn't work. Cant get .align to not error. The fix is Column(verticalArrangement = Arrangement.Center, horizontalAlignment = Alignment.End, modifier = modifier .padding(8.dp)) { Text( text = message, fontSize = 100.sp, lineHeight = 116.sp, textAlign = TextAlign.Center ) doing the horizontalAlignment
Text( text = from, fontSize = 36.sp, modifier = Modifier .padding(16.dp) .align(alignment = Alignment.End) )
Column(verticalArrangement = Arrangement.Center, horizontalAlignment = Alignment.End, modifier = modifier .padding(8.dp)) { Text( text = message, fontSize = 100.sp, lineHeight = 116.sp, textAlign = TextAlign.Center )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
URL of codelab
9.4 (Add greeting to the app, Add padding to the signature and align it to the right.)
Describe the problem
says todo
Text( text = from, fontSize = 36.sp, modifier = Modifier .padding(16.dp) .align(alignment = Alignment.End) )
but it doesn't work. Cant get .align to not error. The fix is
Column(verticalArrangement = Arrangement.Center, horizontalAlignment = Alignment.End, modifier = modifier .padding(8.dp)) { Text( text = message, fontSize = 100.sp, lineHeight = 116.sp, textAlign = TextAlign.Center )
doing the horizontalAlignment
The text was updated successfully, but these errors were encountered: