Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

FabTransformationSheetBehavior

public class FabTransformationSheetBehavior
extends FabTransformationBehavior

java.lang.Object
   ↳
     ↳ com.google.android.material.transformation.ExpandableBehavior
       ↳ com.google.android.material.transformation.ExpandableTransformationBehavior
         ↳ com.google.android.material.transformation.FabTransformationBehavior
           ↳ com.google.android.material.transformation.FabTransformationSheetBehavior


Behavior that should be attached to any sheet that should appear when a FloatingActionButton is setExpanded(boolean) expanded}.

A sheet usually has some width and height that's smaller than the screen, has an elevation, and may have a scrim underneath.

Summary

Public constructors

FabTransformationSheetBehavior()
FabTransformationSheetBehavior(Context context, AttributeSet attrs)

Protected methods

FabTransformationBehavior.FabTransformationSpec onCreateMotionSpec(Context context, boolean expanded)

Inherited methods

From class com.google.android.material.transformation.FabTransformationBehavior
From class com.google.android.material.transformation.ExpandableTransformationBehavior
From class com.google.android.material.transformation.ExpandableBehavior
From class java.lang.Object

Public constructors

FabTransformationSheetBehavior

FabTransformationSheetBehavior ()

FabTransformationSheetBehavior

FabTransformationSheetBehavior (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Protected methods

onCreateMotionSpec

FabTransformationBehavior.FabTransformationSpec onCreateMotionSpec (Context context, 
                boolean expanded)

Parameters
context Context

expanded boolean

Returns
FabTransformationBehavior.FabTransformationSpec