SpatialElevationLevel

object SpatialElevationLevel


Defines standardized resting elevation levels for spatial UI elements. These levels provide a consistent visual hierarchy.

Elevation levels range from Level0 (imperceptible, for smooth transitions) to Level5 (highest recommended).

Summary

Public properties

Dp

Default elevation for the overall activity or screen background.

Dp

Default elevation specifically for Dialogs, typically the highest.

Dp

The base elevation, used for the main content panel.

Dp

Elevation for secondary UI elements like orbiters that float above the main panel.

Dp

Elevation for transient UI elements such as Menus (Dropdown, Autocomplete, Select) and Orbiters Menus.

Dp

An intermediate elevation.

Dp

A higher intermediate elevation.

Dp

The highest standard elevation, typically reserved for elements like SpatialDialog.

Public properties

ActivityDefault

val ActivityDefaultDp

Default elevation for the overall activity or screen background. Usually no elevation. Value: 0.dp.

DialogDefault

val DialogDefaultDp

Default elevation specifically for Dialogs, typically the highest. Mirrors Level5. Value: 56.dp.

Level0

val Level0Dp

The base elevation, used for the main content panel. Visually indistinct from no elevation (0.dp) but crucial for animation and transition purposes.

Level1

val Level1Dp

Elevation for secondary UI elements like orbiters that float above the main panel. Value: 16.dp.

Level2

val Level2Dp

Elevation for transient UI elements such as Menus (Dropdown, Autocomplete, Select) and Orbiters Menus. Value: 24.dp.

Level3

val Level3Dp

An intermediate elevation. No assigned to default components but available for custom layering. Value: 32.dp.

Level4

val Level4Dp

A higher intermediate elevation. Not assigned to default components but available for custom layering. Value: 40.dp.

Level5

val Level5Dp

The highest standard elevation, typically reserved for elements like SpatialDialog. Value: 56.dp.