Align + Column behaviour isn't working as i would expect it to
I've tried both (doesn't align)
Stack -> Align-> Column
As well as
Column -> Stack -> Align (hides the rows in the column)
What's the recommended way of aligning things in a column composable?
(writing a blogpost talking about the UI reusability benefits of compose with the example of a chat message list)
p
pula
02/07/2020, 6:06 PM
what do you expect and can you post a code sample of what isn’t working?
a
Adam Powell
02/07/2020, 7:27 PM
ah, I can take a guess here. You want a consistent alignment for all children of a
Column
, yes? A parameter to
Column
is coming back for that.
t
Thierry
02/07/2020, 7:27 PM
👍
a
Adam Powell
02/07/2020, 7:28 PM
until then you should be able to set the appropriate LayoutGravity modifier on each of the individual children in the column; the param will be the default if the per-child one isn't provided