Last active
August 23, 2020 01:51
-
-
Save manuelernesto/1ea4a1d694b76b7b962714934d801227 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 HomeContent(product: Product = mProduct) { | |
ConstraintLayout(modifier = Modifier.fillMaxSize(), | |
constraintSet = MainConstraintSet()) { | |
Card( | |
shape = RoundedCornerShape(topLeft = 24.dp, topRight = 24.dp), | |
elevation = 0.dp, | |
modifier = Modifier.tag("BgCard").preferredHeight(444.dp).fillMaxWidth() | |
) { | |
ConstraintLayout(modifier = Modifier.padding(16.dp), | |
constraintSet = CardConstraintSet()) { | |
CardContent(product) | |
} | |
} | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment