Created
August 21, 2021 18:05
-
-
Save waseefakhtar/673793cfb65932f03acaa27bc06ab265 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 | |
private fun ProfileContent(puppy: Puppy, containerHeight: Dp) { | |
Column { | |
Title(puppy) | |
ProfileProperty(stringResource(R.string.sex), puppy.sex) | |
ProfileProperty(stringResource(R.string.age), puppy.age.toString()) | |
ProfileProperty(stringResource(R.string.personality), puppy.description) | |
Spacer(Modifier.height((containerHeight - 320.dp).coerceAtLeast(0.dp))) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment