setTargetElevation

open fun setTargetElevation(elevation: Float)

Deprecated

target elevation is now deprecated. AppBarLayout's elevation is now controlled via a android.animation.StateListAnimator. If a target elevation is set, either by this method or the app:elevation attribute, a new state list animator is created which uses the given elevation value.