Join Slack
Powered by
Any easy way to use a TopAppBar with centered titl...
# compose
c
Colton Idle
02/18/2021, 8:38 PM
Any easy way to use a TopAppBar with centered title?
d
Denis
02/18/2021, 8:44 PM
Use
https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#TopAppBar(androidx.compose.u[
…]unit.Dp,%20kotlin.Function1) ?
👍🏼 1
c
Colton Idle
02/18/2021, 11:40 PM
@Denis
did slack formatting break that link?
d
Denis
02/19/2021, 8:14 AM
yeah. Anyway, there are 2 different TopAppBars. Maybe you want to use the second one, that doesn't predefine a layout
c
Colton Idle
02/19/2021, 5:59 PM
Aha. Didn't realize that. Thank you
@Denis
Open in Slack
Previous
Next