onLayoutChild

open override fun onLayoutChild(parent: CoordinatorLayout, child: T, layoutDirection: Int): Boolean

Positions the child view relative to its dependent AppBarLayout during layout pass.

Return

true if handled by behavior, false otherwise.

Parameters

parent

CoordinatorLayout parent view.

child

Target FloatingTopLayout child view.

layoutDirection

Current layout direction.