Hello Composers, I have a topbar composable where ...
# compose
s
Hello Composers, I have a topbar composable where I am using Row as a composable content, I am not able to align the text( title of appbar) to center vertically in row, I have set vertical alignment of Row to center vertically. It centers as expected when the icon (back arrow) appears but goes to default alignment top when icon is not there.
a
Just use
navigationIcon
and use the content as a simbler
Text
a
You need to add
fillMaxHeight()
to your `Row`’s modifier.
s
oh, correct Thanks a lot.