# androidx.constraintlayout.motion.widget

# androidx.constraintlayout.motion.widget

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/constraintlayout/motion/widget/package-summary "View this page in Java")

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
| [Animatable](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/Animatable)                                           | A helper interface allowing MotionLayout to directly drive custom views                                          |
| [CustomFloatAttributes](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/CustomFloatAttributes)                     | Interface to custom float attributes                                                                             |
| [FloatLayout](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/FloatLayout)                                         | Add support to views that do floating point layout.                                                              |
| [MotionHelperInterface](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionHelperInterface)                     | This defined the interface for MotionLayout helpers Helpers can be used to draw motion effects or modify motions |
| [MotionLayout.MotionTracker](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionLayout.MotionTracker)           | Subclasses can override to build test frameworks                                                                 |
| [MotionLayout.TransitionListener](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionLayout.TransitionListener) | Listener for monitoring events about TransitionLayout.                                                           |

## Classes

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Debug](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/Debug)                                                                       | Utilities useful for debugging                                                                                                                                          |
| [DesignTool](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/DesignTool)                                                             | Utility class to manipulate MotionLayout from the layout editor                                                                                                         |
| [Key](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/Key)                                                                           | Base class in an element in a KeyFrame                                                                                                                                  |
| [KeyAttributes](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/KeyAttributes)                                                       | Defines container for a key frame of for storing KeyAttributes.                                                                                                         |
| [KeyCycle](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/KeyCycle)                                                                 | Provide the passive data structure to get KeyPosition information form XML                                                                                              |
| [KeyFrames](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/KeyFrames)                                                               | The parses the KeyFrame structure in a MotionScene xml                                                                                                                  |
| [KeyPosition](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/KeyPosition)                                                           | Provide the passive data structure to get KeyPosition information form XML                                                                                              |
| [KeyTimeCycle](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/KeyTimeCycle)                                                         | Defines container for a key frame of for storing KeyTimeCycles.                                                                                                         |
| [KeyTrigger](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/KeyTrigger)                                                             | Defines container for a key frame of for storing KeyAttributes.                                                                                                         |
| [MotionController](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionController)                                                 | Contains the picture of a view through a transition and is used to interpolate it.                                                                                      |
| [MotionHelper](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionHelper)                                                         |                                                                                                                                                                         |
| [MotionInterpolator](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionInterpolator)                                             | Defines an interpolator that can return velocity                                                                                                                        |
| [MotionLayout](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionLayout)                                                         | A subclass of ConstraintLayout that supports animating between various states**Added in 2.0**                                                                           |
| [MotionScene](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionScene)                                                           | The information to transition between multiple ConstraintSets This Class is meant to be used from XML                                                                   |
| [MotionScene.Transition](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionScene.Transition)                                     | Transition defines the interaction from one state to another.                                                                                                           |
| [MotionScene.Transition.TransitionOnClick](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionScene.Transition.TransitionOnClick) |                                                                                                                                                                         |
| [OnSwipe](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/OnSwipe)                                                                   | Container for holding swipe information                                                                                                                                 |
| [TransitionAdapter](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/TransitionAdapter)                                               |                                                                                                                                                                         |
| [TransitionBuilder](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/TransitionBuilder)                                               | Builder class for creating[Transition](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/MotionScene.Transition)programmatically.  |
| [ViewTransition](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/ViewTransition)                                                     | Provides a support for tag it Parses tag it implement the transition it will update ConstraintSet or sets For asynchronous it will create and drive a MotionController. |
| [ViewTransitionController](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/widget/ViewTransitionController)                                 | Container for ViewTransitions.                                                                                                                                          |