setDrawerElevation

open fun setDrawerElevation(elevation: Float)(source)

Sets the base elevation of the drawer(s) relative to the parent, in pixels. Note that the elevation change is only supported in API 21 and above.

Parameters

elevation

The base depth position of the view, in pixels.