Tobias Suchalla
Box(Modifier.fillMaxSize()) { Column(Modifier.matchParentSize().verticalScroll(rememberScrollState())) { repeat(5) { Box( Modifier .padding(bottom = 10.dp) .background(Color.LightGray) .height(64.dp) .fillMaxWidth() ) } Spacer(Modifier.weight(1f)) // Fills remaining space inside the Box Button(onClick = {}) { Text("Save changes") } } }
Box
matchParentSize
A modern programming language that makes developers happier.