elevation property

int elevation
final

The z-coordinate at which to place the menu when open.

The following elevations have defined shadows: 1, 2, 3, 4, 6, 8, 9, 12, 16, and 24. See kElevationToShadow.

Defaults to 8, the appropriate elevation for dropdown buttons.

Implementation

final int elevation