https://kotlinlang.org logo
#compose
Title
# compose
k

Kshitij Patil

01/05/2021, 10:43 AM
If one of the items in a Row is using
fillMaxHeight
and one of the item's height is conditionally dependent upon some state, don't we have any other option than writing a custom layout to get wrapContent behaviour? Currently
fillMaxHeight
makes the row fill the entire height but what I meant was the maximum height of an item in given row
It's for column, but you can do the same for row
👍 1
k

Kshitij Patil

01/05/2021, 12:47 PM
Is it possible to do this in a constraint layout? I've a
Box
component followed by other elements horizontally but had to use constraint layout for some alignment features. I want the box to have max height required by other components which is being decided conditionally
5 Views