onLayoutChild

open fun onLayoutChild(@NonNull child: @NonNull View, layoutDirection: Int)(source)

Called to lay out each individual child view unless a Behavior is present. The Behavior may choose to delegate child measurement to this method.

Parameters

child

child view to lay out

layoutDirection

the resolved layout direction for the CoordinatorLayout, such as LAYOUT_DIRECTION_LTR or LAYOUT_DIRECTION_RTL.