Last active
October 8, 2021 02:15
-
-
Save navczydev/72c5fe44ff20ffbf2391779f3de1ff0a 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
Image( | |
painter = painterResource(R.drawable.post_1), | |
contentDescription = null, // decorative | |
contentScale = ContentScale.Crop, | |
modifier = Modifier | |
.height(100.dp) | |
.fillMaxWidth() | |
) | |
Image( | |
painter = painterResource(R.drawable.post_1), | |
contentDescription = stringResource(R.string.content_desc_post_header) | |
contentScale = ContentScale.Crop, | |
modifier = Modifier | |
.height(100.dp) | |
.fillMaxWidth() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment