Florian
08/19/2021, 1:51 PMfillMaxSize
not work if the container is scrollable?Dominaezzz
08/19/2021, 1:52 PMFlorian
08/19/2021, 1:54 PMDominaezzz
08/19/2021, 1:55 PMDominaezzz
08/19/2021, 1:58 PMFlorian
08/19/2021, 2:00 PMFlorian
08/19/2021, 2:00 PMFlorian
08/19/2021, 2:00 PMFlorian
08/19/2021, 2:00 PMColton Idle
08/19/2021, 4:14 PMAnthony
08/19/2021, 4:53 PMLazyColumn() {
item{ Box(Modifier.background(Color.Yellow).fillParentMaxSize())
}
}
Anthony
08/19/2021, 4:54 PMColton Idle
08/19/2021, 5:02 PMLorenzo Benevento
08/19/2021, 5:17 PMRow(
modifier = Modifier.verticalScroll(rememberScrollState())
) {
Text(text = "One")
Box(
modifier = Modifier
.fillMaxHeight()
.width(1.dp)
.background(Color.Red)
)
Text(text = "Two")
}
Anthony
08/19/2021, 5:21 PMDivider()
as the Composable?Anthony
08/19/2021, 5:21 PMLorenzo Benevento
08/19/2021, 5:23 PMDivider()
only works as an horizontal divider. Probably a bit less then the height of the row but yeah. I could use a constant height, but if the other two composable change dimensions for some reasons it won't scale!Colton Idle
08/19/2021, 5:45 PMAnthony
08/19/2021, 5:47 PMLorenzo Benevento
08/19/2021, 5:55 PMLorenzo Benevento
08/20/2021, 7:00 PM