rajesh
08/18/2021, 11:41 AMComposable1(modifier = Modifier.fillMaxSize(0.5f))
Spacer()
Composable2()
than_
08/18/2021, 1:27 PMColton Idle
08/18/2021, 6:42 PMComposable1(modifier = Modifier.weight(1f))
Spacer()
Composable2(modifier = Modifier.weight(1f))
having weight set to 1 will make sure both take up 50%Tash
08/18/2021, 8:24 PMColton Idle
08/18/2021, 8:27 PMComposable1(modifier = Modifier.fillMaxSize(0.5f))
Spacer()
Composable2(modifier = Modifier.fillMaxSize(0.5f))
would not work, because I did this yesterday, and so Composable2 will only take up 50% of the rest of the space, which is 25% of the space. So using something like weight might be appropriate.Tash
08/20/2021, 5:11 PM