setUseFloatingToolbar

Configures whether the AppBarLayout should use floating toolbar mode.

Note: Floating toolbar feature must be used with FloatingToolbarLayout.

Parameters

use

true to enable floating toolbar mode, false otherwise.