How to reach same behavior in Compose like MATCH_PARENT in View Framework behave?
modifier
fillMax...
looks pretty the same, but when it applied to child of container, that doesn’t have exact size, then child stretch the parent
when i used view framework i can did like
Actually, IntrinsicMin should work here, unless you have composables down in the hierarchy that don't like intrinsic measuring, then i guess it gets ugly...
Oh, in my case i didn't specify any exact heights. If you pass exact heights, why not pass them to all children?
i
iamthevoid
12/10/2021, 9:21 AM
I think i say wrong a bit. Exact size in my case is
wrap content
size, but it is less indeterminate, than parent size or child