Jasmin Fajkic
08/28/2022, 3:43 PMK Merle
08/28/2022, 4:36 PMColumn
, with 2 nested children, of which one would be .weight(4)
other .weight(1)
, and children would have further children, depending what you wanna show.Jasmin Fajkic
08/28/2022, 5:07 PMfun LandingView() {3
Box(modifier = Modifier.fillMaxSize()) {
Image(
painter = painterResource(id = R.drawable.landing_background),
contentDescription = null,
modifier = Modifier
.fillMaxSize(),
contentScale = ContentScale.FillHeight
)
}
}
I have this and @K Merle you would put Column bellow Box ?Jasmin Fajkic
08/28/2022, 5:14 PMK Merle
08/28/2022, 6:51 PM.weight(1f)
to upper item, so bottom item is always visible with 100% height.