TopAppBarDefaults

Contains default values used by TopAppBar and SmallTopAppBar.

Properties

Link copied to clipboard

The horizontal gap between the title and the action icons. COUI coui_toolbar_gap_before_menu (8dp).

Link copied to clipboard

The default end padding of the action icons.

Link copied to clipboard

The default collapsed height of the TopAppBar.

Link copied to clipboard

The default expanded height of the TopAppBar when no subtitle is present. COUI coui_appbar_title_expanded_height (107dp); the bar grows beyond it when the measured title content requires more space.

Link copied to clipboard

The bottom padding below the large title block when the bar is expanded. COUI coui_appbar_start_padding_bottom (12dp, interpolates to 0dp as the bar collapses).

Link copied to clipboard

The top padding of the expanded large title, measured from the top of the bar. COUI coui_appbar_title_expanded_margin_top (54dp).

Link copied to clipboard

The horizontal gap between the navigation icon and the collapsed title. COUI coui_toolbar_gap_between_navigation_and_title (4dp).

Link copied to clipboard

The default start padding of the navigation icon.

Link copied to clipboard

The vertical center height used for SmallTopAppBar layout. COUI coui_appbar_title_toolbar_height (52dp).

Link copied to clipboard

The bottom padding below the subtitle when it overflows the collapsed bar.

Link copied to clipboard

The vertical gap between the title and the subtitle. COUI coui_appbar_subtitle_collapsed_margin_top (3.5dp).

Link copied to clipboard

The default horizontal padding of the title and large title. COUI coui_appbar_title_expanded_margin_start/end_compat (16dp).