TopBarStyle

The app bar a tab, child or page is drawn under.

Entries

Link copied to clipboard

Title at the start, stays in place.

Link copied to clipboard

Title centred, stays in place.

Link copied to clipboard

Tall title that collapses into a small bar as the content scrolls. On a window too short for it, such as a phone in landscape, the shell draws a small bar instead.

Link copied to clipboard

A Large bar that opens already collapsed, as a small bar, so the content starts right under it. Pulling the content down from its top grows the bar to its full size. Suits pages opened to act on, such as settings, more than pages opened to read.

Link copied to clipboard

No app bar. The screen draws its own header, such as a search field.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard

Whether this is a large bar, collapsed at first or not.

Link copied to clipboard
Link copied to clipboard