Rafal
10/25/2019, 11:18 AMwidth=4dp
and height=match_parent
in compose?Container(width = 4.dp, expanded = true) {
DrawShape(shape = RectangleShape, color = Color.Black)
}
this doesn’t seem to workMihai Hrincescu
10/25/2019, 11:26 AMContainer
will expand to fill it's parent if possible so it will depend what layout wraps the container.Rafal
10/25/2019, 11:27 AMMihai Hrincescu
10/25/2019, 11:31 AMRafal
10/25/2019, 11:34 AMMihai Hrincescu
10/25/2019, 12:43 PMContainer
and DrawShape
because this workscontainer
but my guess is that the height
is set to 0. I need to check if is indeed the case.Andrey Kulikov
10/25/2019, 1:58 PMpavi2410
10/25/2019, 4:20 PMRafal
10/28/2019, 9:42 AM