ShellLayoutMode
How the shell presents its navigation.
| Mode | Tabs | Drawer entries | Menu button |
|---|---|---|---|
| BottomBar | Navigation bar, unless the host hides its single tab bar | Modal drawer | In the app bar, opens the drawer |
| Rail | Collapsed rail | Same rail, scrollable | Top of the rail, opens the rail expanded over the content |
| ExpandedRail | Expanded rail beside the content | Same rail, scrollable | Top of the rail, collapses and expands it in place |
| PermanentDrawer | Always-open drawer | Same drawer | None |
Entries
Link copied to clipboard
Picks one of the others from the window width. See ShellLayoutPolicy.
Link copied to clipboard
Link copied to clipboard
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.