Not seeing a subtitle property in TopAppBar. Is th...
# compose
b
Not seeing a subtitle property in TopAppBar. Is this coming soon, or possible to implement in another way?
Looking at the material spec, not seeing it there either. Guessing this is something that is left over from old Android that will not make it into Compose.
c
The
title
parameter is a
Composable
slot, so you can pass more than just one
Text
component
Copy code
TopAppBar(
    title = {
       Column {
           Text("Title")
           Text("Subtitle")
       }
    },
    ...
)
b
Ugh, thanks, still getting a feel for the docs, read it as text, not a composable named title.
c
Np! Yeah the docs are not the easiest to parse right now, especially with overloads of top-level functions, aka all Compose UI components 😅