Thread
#compose
    Billy Newman

    Billy Newman

    1 year ago
    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.
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    The
    title
    parameter is a
    Composable
    slot, so you can pass more than just one
    Text
    component
    TopAppBar(
        title = {
           Column {
               Text("Title")
               Text("Subtitle")
           }
        },
        ...
    )
    Billy Newman

    Billy Newman

    1 year ago
    Ugh, thanks, still getting a feel for the docs, read it as text, not a composable named title.
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    Np! Yeah the docs are not the easiest to parse right now, especially with overloads of top-level functions, aka all Compose UI components 😅