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

TransformationChildCard

public class TransformationChildCard
extends CircularRevealCardView

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ androidx.cardview.widget.CardView
           ↳ com.google.android.material.card.MaterialCardView
             ↳ com.google.android.material.circularreveal.cardview.CircularRevealCardView
               ↳ com.google.android.material.transformation.TransformationChildCard


This class is deprecated.
Use MaterialContainerTransform instead.

CardView 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.

This class should be used if you need to support shadows on pre-L devices.

Summary

Inherited XML attributes

Inherited constants

Inherited fields

Public constructors

TransformationChildCard(Context context)
TransformationChildCard(Context context, AttributeSet attrs)

Inherited methods

Public constructors

TransformationChildCard

public TransformationChildCard (Context context)

Parameters
context Context

TransformationChildCard

public TransformationChildCard (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet