TransformationChildLayout

public class TransformationChildLayout extends CircularRevealFrameLayout


Wrapper layout for views that can react to an ExpandableWidget's setExpanded 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

Public constructors

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

Inherited methods

From com.google.android.material.circularreveal.CircularRevealFrameLayout
void
actualDraw(Canvas canvas)

Calls super#draw(Canvas).

boolean

Calls super#isOpaque().

void

Prepares the reveal info property to be modified.

void

Cleans up after the reveal info property is reset.

void
draw(Canvas canvas)

Implementations should call the corresponding method in CircularRevealHelper.

Drawable

Returns the circular reveal overlay drawable if one exists, or null.

int

Implementations should call the corresponding method in CircularRevealHelper.

CircularRevealWidget.RevealInfo

Returns the current reveal info if one exists, or null.

boolean

Implementations should call the corresponding method in CircularRevealHelper.

void

Sets the circular reveal overlay drawable, which is an icon that's drawn above everything else, including the circular reveal scrim color.

void

Sets the circular reveal scrim color, which is a color that's drawn above this widget's contents.

void

Sets the current reveal info.

From com.google.android.material.circularreveal.CircularRevealWidget
abstract void
draw(Canvas canvas)

Implementations should call the corresponding method in CircularRevealHelper.

Public constructors

TransformationChildLayout

public TransformationChildLayout(Context context)

TransformationChildLayout

public TransformationChildLayout(Context context, AttributeSet attrs)