Skip to content

Instantly share code, notes, and snippets.

@AlankritaShah
Created October 27, 2022 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlankritaShah/1fb78b5caa22a35084cc1175a7700110 to your computer and use it in GitHub Desktop.
Save AlankritaShah/1fb78b5caa22a35084cc1175a7700110 to your computer and use it in GitHub Desktop.
@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