# ExpandableTransformationWidget

[View Source](https://github.com/material-components/material-components-android/blob/1.14.0/lib/java/com/google/android/material/expandable/ExpandableTransformationWidget.java)

*** ** * ** ***


```
public interface ExpandableTransformationWidget extends ExpandableWidget
```

<br />

Known direct subclasses [FloatingActionButton](https://developer.android.com/reference/com/google/android/material/floatingactionbutton/FloatingActionButton)

|---|---|
| `https://developer.android.com/reference/com/google/android/material/floatingactionbutton/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` | `https://developer.android.com/reference/com/google/android/material/expandable/ExpandableTransformationWidget#getExpandedComponentIdHint()()` Returns the expanded component id hint. |
| `abstract void` | `https://developer.android.com/reference/com/google/android/material/expandable/ExpandableTransformationWidget#setExpandedComponentIdHint(int)(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. |

| ### Inherited methods |
|---|
| From [com.google.android.material.expandable.ExpandableWidget](https://developer.android.com/reference/com/google/android/material/expandable/ExpandableWidget) |---|---| | `abstract boolean` | `https://developer.android.com/reference/com/google/android/material/expandable/ExpandableWidget#isExpanded()()` Returns whether this widget is expanded. | | `abstract boolean` | `https://developer.android.com/reference/com/google/android/material/expandable/ExpandableWidget#setExpanded(boolean)(boolean expanded)` Sets the expanded state on this widget. | |

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