Created
February 11, 2024 12:38
-
-
Save Starchild13/9dbb9d3169f24bc5b690a9ede0a80e50 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 AnImage(name: String,role:String) { | |
val image = painterResource(R.drawable.android_logo) | |
Column( | |
verticalArrangement = Arrangement.Center, | |
horizontalAlignment = Alignment.CenterHorizontally, | |
modifier = Modifier.background(Color.Black) | |
) { | |
Image( | |
painter = image, | |
contentDescription = null, | |
modifier = Modifier, | |
contentScale = ContentScale.FillWidth | |
) | |
Text_card(name = name, role = role) | |
Spacer(modifier = Modifier.height(height = 100.dp)) | |
icon_column() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment