Skip to content

Instantly share code, notes, and snippets.

@aqua30
Last active Jun 14, 2022
Embed
What would you like to do?
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