{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

DrawerDefaults


Object to hold default values for ModalNavigationDrawer

Summary

Public properties

Dp

Default Elevation for drawer container in the DismissibleNavigationDrawer as specified in the Material specification.

Cmn
Dp

Default and maximum width of a navigation drawer

Cmn
Dp

Default Elevation for drawer container in the ModalNavigationDrawer as specified in the Material specification.

Cmn
Dp

Default Elevation for drawer container in the PermanentNavigationDrawer as specified in the Material specification.

Cmn
Color

Default container color for a navigation drawer

Cmn
Color

Default color of the scrim that obscures content when the drawer is open

Cmn
Shape

Default shape for a navigation drawer.

Cmn
WindowInsets

Default window insets for drawer sheets

Cmn

Public properties

DismissibleDrawerElevation

val DismissibleDrawerElevationDp

Default Elevation for drawer container in the DismissibleNavigationDrawer as specified in the Material specification.

MaximumDrawerWidth

val MaximumDrawerWidthDp

Default and maximum width of a navigation drawer

ModalDrawerElevation

val ModalDrawerElevationDp

Default Elevation for drawer container in the ModalNavigationDrawer as specified in the Material specification.

PermanentDrawerElevation

val PermanentDrawerElevationDp

Default Elevation for drawer container in the PermanentNavigationDrawer as specified in the Material specification.

containerColor

val containerColorColor

Default container color for a navigation drawer

scrimColor

val scrimColorColor

Default color of the scrim that obscures content when the drawer is open

shape

val shapeShape

Default shape for a navigation drawer.

windowInsets

val windowInsetsWindowInsets

Default window insets for drawer sheets