grandstaish
02/02/2020, 3:54 PMlayout_weight
in a Row
in dev04?grandstaish
02/02/2020, 3:58 PMFlexRow
used to be the solution but it’s deprecated in favour of Row
nowAdam Powell
02/02/2020, 3:59 PMFlexRow
options moved to the LayoutFlexible
modifier that you can create in the row's receiver scopeAdam Powell
02/02/2020, 3:59 PMRow {
Text("Hello", LayoutFlexible(1f))
}
grandstaish
02/02/2020, 4:00 PMAdam Powell
02/02/2020, 4:01 PMgrandstaish
02/02/2020, 4:08 PMLayoutGravity
because it was just a random object with no properties… it didn’t occur to me that extensions would apply within certain scopes! All makes sense now though 👍Adam Powell
02/02/2020, 4:10 PMandroid:layout_foo
anywhere and have it be silently ignored in layout xml if the parent doesn't support that param) but the tradeoff is discoverability. The LayoutGravity
thing is probably on the side of way too cute for its own good; anything you can this.
and find in autocomplete in these scopes is probably going to see some growth and movementcodeslubber
02/02/2020, 7:24 PMAdam Powell
02/02/2020, 8:54 PMromainguy
02/02/2020, 10:23 PMcodeslubber
02/03/2020, 6:25 AM