setElevation

open fun setElevation(elevation: Float)(source)

Set the Z-axis elevation of the action bar in pixels.

The action bar's elevation is the distance it is placed from its parent surface. Higher values are closer to the user.

Parameters

elevation

Elevation value in pixels