Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Composable
- fun QuadrantComposable(text1: String, text2: String, color: Color, modifier: Modifier = Modifier) {
- Column(modifier = modifier
- .fillMaxSize()
- .background(color)
- .padding(16.dp),
- verticalArrangement = Arrangement.Center,
- horizontalAlignment = Alignment.CenterHorizontally) {
- Text(
- text = text1,
- fontWeight = FontWeight.Bold,
- modifier = modifier.padding(bottom = 16.dp)
- )
- Text(
- text = text2,
- textAlign = TextAlign.Justify
- )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement