Hi there folks, hope you all are extremely well :w...
# compose
p
Hi there folks, hope you all are extremely well 👋
Copy code
Row(
    modifier = Modifier.padding(horizontal = 16.dp),
    horizontalArrangement = Arrangement.spacedBy(16.dp)
) {
    HeighDependsOnContentComposable(modifier = Modifier.weight(1f))
    HeighDependsOnContentComposable(modifier = Modifier.weight(1f))
}
Is there any way I can have both composables with the same height? This is taking the heigh of the tallest one? Is this one of the scenarios where ConstraintLayout would help? Thanks!!! 🙏
a
https://developer.android.com/codelabs/jetpack-compose-layouts#9 the intrinsic size APIs are likely to help you here
p
Great! Let me take a look.
Thanks @Adam Powell!! That worked out very well!
👍 1
k
@Pablo Costa can paste the could that worked for you? Thanks!