startTitleAlphaAnimation

fun startTitleAlphaAnimation(show: Boolean, immediately: Boolean = false)

Animates the toolbar title and custom title views' alpha.

Parameters

show

Target visibility state (true to show title, false to hide).

immediately

Whether to apply the target alpha immediately without animation.