FloatingActionButton.Behavior

public static class FloatingActionButton.Behavior
extends BaseBehavior<FloatingActionButton>

java.lang.Object
   ↳ androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<T extends com.google.android.material.floatingactionbutton.FloatingActionButton>
     ↳ com.google.android.material.floatingactionbutton.FloatingActionButton.BaseBehavior<com.google.android.material.floatingactionbutton.FloatingActionButton>
       ↳ com.google.android.material.floatingactionbutton.FloatingActionButton.Behavior


Behavior designed for use with FloatingActionButton instances. Its main function is to move FloatingActionButton views so that any displayed Snackbars do not cover them.

Summary

Inherited XML attributes

From class com.google.android.material.floatingactionbutton.FloatingActionButton.BaseBehavior

Public constructors

FloatingActionButton.Behavior()
FloatingActionButton.Behavior(Context context, AttributeSet attrs)

Inherited methods

From class com.google.android.material.floatingactionbutton.FloatingActionButton.BaseBehavior
From class androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior
From class java.lang.Object

Public constructors

FloatingActionButton.Behavior

FloatingActionButton.Behavior ()

FloatingActionButton.Behavior

FloatingActionButton.Behavior (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet