lightbulb_outline Please take our October 2018 developer survey. Start survey

FloatingActionButton.Behavior

public static class FloatingActionButton.Behavior
extends BaseBehavior<FloatingActionButton>

java.lang.Object
   ↳ android.support.design.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 ERROR(/Snackbar)s 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 android.support.design.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