Android 12 Developer Preview is here! Try it out, and give us your feedback!

TransformationChildLayout

public class TransformationChildLayout
extends CircularRevealFrameLayout

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.google.android.material.circularreveal.CircularRevealFrameLayout
           ↳ com.google.android.material.transformation.TransformationChildLayout


This class is deprecated.
Use MaterialContainerTransform instead.

Wrapper layout for views that can react to an ExpandableWidget's ExpandableWidget.setExpanded(boolean) state changes by transforming the ExpandableWidget into itself.

This ViewGroup should contain exactly one child.

If this layout needs to support shadows on pre-L devices, use TransformationChildCard instead.

Summary

Inherited constants

Inherited fields

Public constructors

TransformationChildLayout(Context context)
TransformationChildLayout(Context context, AttributeSet attrs)

Inherited methods

Public constructors

TransformationChildLayout

public TransformationChildLayout (Context context)

Parameters
context Context

TransformationChildLayout

public TransformationChildLayout (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet