Last active
September 21, 2022 12:36
-
-
Save mazzouzi/29274d75531b7c30984ef9b0cfbbccd9 to your computer and use it in GitHub Desktop.
Body composable
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
@Composable | |
private fun Body() { | |
Column(horizontalAlignment = Alignment.CenterHorizontally) { | |
Spacer(Modifier.height(headerHeight)) | |
repeat(5) { | |
Text( | |
text = stringResource(R.string.lorem_ipsum), | |
style = MaterialTheme.typography.body1, | |
textAlign = TextAlign.Justify, | |
modifier = Modifier | |
.background(Color(0XFF161616)) | |
.padding(16.dp) | |
) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment