Last active
June 14, 2022 18:10
-
-
Save aqua30/1b2c3cdcd602547f1e6bb41b1193a4e4 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
val loginY = density.run { 510.dp.toPx() } | |
Box( | |
modifier = Modifier | |
.fillMaxSize() | |
.padding(16.dp), | |
) { | |
Signup( | |
modifier = Modifier | |
.fillMaxWidth() | |
.height(600.dp) | |
.placeAt(0, 0) | |
) | |
Login( | |
modifier = Modifier | |
.fillMaxWidth() | |
.height(250.dp) | |
.placeAt(0, loginY.roundToInt()) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment