use Floating Toolbar
Returns whether the AppBarLayout is using floating toolbar mode.
Return
true if floating toolbar mode is enabled, false otherwise.
Returns whether the AppBarLayout is using floating toolbar mode.
true if floating toolbar mode is enabled, false otherwise.