ExpandableTransformationWidget


Kotlin |Java

public interface ExpandableTransformationWidget extends ExpandableWidget 

Known direct subclasses
FloatingActionButton

Floating action buttons are used for a special type of promoted action.


An ExpandableWidget that visually transforms into another component when expanded.

Summary

Public methods

abstract int

Returns the expanded component id hint.

abstract void
setExpandedComponentIdHint(int expandedComponentIdHint)

Sets the expanded component id hint, which may be used by a Behavior to determine whether it should handle this widget's state change.

abstract boolean

Returns whether this widget is expanded.

abstract boolean
setExpanded(boolean expanded)

Sets the expanded state on this widget.

Inherited methods

From com.google.android.material.expandable.ExpandableWidget

Public methods

getExpandedComponentIdHint

abstract int getExpandedComponentIdHint()

Returns the expanded component id hint.

setExpandedComponentIdHint

abstract void setExpandedComponentIdHint(int expandedComponentIdHint)

Sets the expanded component id hint, which may be used by a Behavior to determine whether it should handle this widget's state change.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月14日 UTC.