public final void setToolbarElevation ( final int elevation ) { Condition . INSTANCE . ensureAtLeast ( elevation , 0 , "The elevation must be at least 0" ) ; Condition . INSTANCE . ensureAtMaximum ( elevation , ElevationUtil . MAX_ELEVATION , "The elevation must at maximum " + ElevationUtil . MAX_ELEVATION ) ; this . toolbarElevation = elevation ; adaptToolbarElevation ( ) ; }
Sets the elevation of the activity s toolbar .