Floating Top Behavior
open class FloatingTopBehavior<T : FloatingTopLayout> @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : FloatingGroupLayout.FloatingActionBehavior<T> , MaterialLogTag
CoordinatorLayout behavior for top-aligned floating layouts that listens to AppBarLayout state changes.
Parameters
T
The type of FloatingTopLayout.
context
The Context the behavior is running in.
attrs
The attributes of the XML tag inflating the behavior.
Inheritors
Properties
Link copied to clipboard
Reference to the attached AppBarLayout.
Link copied to clipboard
Flag indicating whether the behavior is executing its initial layout pass for the child view.
Functions
Link copied to clipboard
Callback invoked when AppBarLayout state changes.
Link copied to clipboard
Configures default layout parameters and gravity when attached to CoordinatorLayout layout params.
Link copied to clipboard
Positions the child view relative to its dependent AppBarLayout during layout pass.