Can anyone help me with `barriers` in compose? I’m...
# compose
b
Can anyone help me with
barriers
in compose? I’m trying to archive something really easy, but stuck. #00FF00 should stick to #FFFF00 #FFFF00 should be centered vertically #0000FF should stick to the right ⚠️ when #FFFF00 expands, #00FF00 is gone (moved outside) https://gist.github.com/thebino/6fee572f5f69b06fd44ec3b849a583a2
a
Try setting
width = Dimension.fillToConstraints
to the yellow text
b
This will expand the yellow one to the full size and move the green one outside even if there is enough room