# Animatable

# Animatable

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The Constraint Layout support library has been superseded by the[AndroidX Constraint Layout library](https://developer.android.com/reference/androidx/constraintlayout/classes), which is part of[Jetpack](https://developer.android.com/jetpack). The`Animatable`interface has been superseded by[`androidx.constraintlayout.motion.widget.Animatable`](https://developer.android.com/reference/androidx/constraintlayout/motion/widget/Animatable). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX.

`
public


interface
Animatable
`  
`


`

|----------------------------------------------|
| android.support.constraint.motion.Animatable |

<br />

*** ** * ** ***

A helper interface allowing MotionLayout to directly drive custom views

## Summary

|                                                                       ### Public methods                                                                        ||
|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract float` | ` `[getProgress](https://developer.android.com/reference/android/support/constraint/motion/Animatable#getProgress())`() `                    |
| ` abstract void`  | ` `[setProgress](https://developer.android.com/reference/android/support/constraint/motion/Animatable#setProgress(float))`(float progress) ` |

## Public methods

### getProgress

```
public abstract float getProgress ()
```

<br />

<br />

|     Returns     ||
|---------|--------|
| `float` | <br /> |

### setProgress

```
public abstract void setProgress (float progress)
```

<br />

<br />

|         Parameters         ||
|------------|----------------|
| `progress` | `float` <br /> |