Ravi
04/05/2021, 2:38 AMIntrinsicSize.Min
its giving me Intrinsic measurements are not currently supported by SubcomposeLayout
. description text vary from 1-2 lines how to maintain common height for all the row elements
LazyRow(
state = listState,
modifier = modifier.height(IntrinsicSize.Min),
horizontalArrangement = Arrangement.spacedBy(8.dp),
)
Bryan L
04/05/2021, 2:51 AMAlbert Chang
04/05/2021, 3:17 AMweight
will work because it'll make the parent fill max height (i.e. take all vertical space available). I think you have to specify a fixed height on the description text. You can use with(LocalDensity.current) { 10.sp.toDp() }
to convert from sp to dp.