-
-
Save AlankritaShah/1fb78b5caa22a35084cc1175a7700110 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
@Composable | |
fun BusinessCardTop() { | |
val image = painterResource(id = R.drawable.ic_launcher_background) | |
Column( | |
modifier = Modifier.fillMaxWidth(), | |
horizontalAlignment = Alignment.CenterHorizontally, | |
verticalArrangement = Arrangement.Bottom | |
) { | |
Image( | |
painter = image, | |
contentDescription = "All tasks done", | |
modifier = Modifier | |
.width(150.dp) | |
.height(150.dp) | |
) | |
Text( | |
text = "Alankrita", | |
fontSize = 24.sp, | |
fontWeight = FontWeight.Bold, | |
modifier = Modifier | |
.padding(0.dp, 24.dp, 0.dp, 8.dp) | |
) | |
Text( | |
text = "Hi From Alankrita", | |
fontSize = 16.sp | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment