Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
Debug |
Utilities useful for debugging
|
DesignTool |
Utility class to manipulate MotionLayout from the layout editor
|
Key |
Base class in an element in a KeyFrame
|
KeyAttributes |
Defines container for a key frame of for storing KeyAttributes.
|
KeyCycle |
Provide the passive data structure to get KeyPosition information form XML
|
KeyFrames |
The parses the KeyFrame structure in a MotionScene xml
|
KeyPosition |
Provide the passive data structure to get KeyPosition information form XML
|
KeyTimeCycle |
Defines container for a key frame of for storing KeyTimeCycles.
|
KeyTrigger |
Defines container for a key frame of for storing KeyAttributes.
|
MotionController |
Contains the picture of a view through a transition and is used to interpolate it.
|
MotionHelper |
|
MotionInterpolator |
Defines an interpolator that can return velocity
|
MotionLayout |
A subclass of ConstraintLayout that supports animating between various states Added in 2.0
|
MotionScene |
The information to transition between multiple ConstraintSets This Class is meant to be used from XML
|
MotionScene.Transition |
Transition defines the interaction from one state to another.
|
MotionScene.Transition.TransitionOnClick |
|
OnSwipe |
Container for holding swipe information
|
TransitionAdapter |
|
TransitionBuilder |
Builder class for creating Transition programmatically.
|
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 |
Container for ViewTransitions.
|
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 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.constraintlayout.motion.widget\n=======================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/constraintlayout/motion/widget/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [Animatable](/reference/androidx/constraintlayout/motion/widget/Animatable) | A helper interface allowing MotionLayout to directly drive custom views |\n| [CustomFloatAttributes](/reference/androidx/constraintlayout/motion/widget/CustomFloatAttributes) | Interface to custom float attributes |\n| [FloatLayout](/reference/androidx/constraintlayout/motion/widget/FloatLayout) | Add support to views that do floating point layout. |\n| [MotionHelperInterface](/reference/androidx/constraintlayout/motion/widget/MotionHelperInterface) | This defined the interface for MotionLayout helpers Helpers can be used to draw motion effects or modify motions |\n| [MotionLayout.MotionTracker](/reference/androidx/constraintlayout/motion/widget/MotionLayout.MotionTracker) | Subclasses can override to build test frameworks |\n| [MotionLayout.TransitionListener](/reference/androidx/constraintlayout/motion/widget/MotionLayout.TransitionListener) | Listener for monitoring events about TransitionLayout. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Debug](/reference/androidx/constraintlayout/motion/widget/Debug) | Utilities useful for debugging |\n| [DesignTool](/reference/androidx/constraintlayout/motion/widget/DesignTool) | Utility class to manipulate MotionLayout from the layout editor |\n| [Key](/reference/androidx/constraintlayout/motion/widget/Key) | Base class in an element in a KeyFrame |\n| [KeyAttributes](/reference/androidx/constraintlayout/motion/widget/KeyAttributes) | Defines container for a key frame of for storing KeyAttributes. |\n| [KeyCycle](/reference/androidx/constraintlayout/motion/widget/KeyCycle) | Provide the passive data structure to get KeyPosition information form XML |\n| [KeyFrames](/reference/androidx/constraintlayout/motion/widget/KeyFrames) | The parses the KeyFrame structure in a MotionScene xml |\n| [KeyPosition](/reference/androidx/constraintlayout/motion/widget/KeyPosition) | Provide the passive data structure to get KeyPosition information form XML |\n| [KeyTimeCycle](/reference/androidx/constraintlayout/motion/widget/KeyTimeCycle) | Defines container for a key frame of for storing KeyTimeCycles. |\n| [KeyTrigger](/reference/androidx/constraintlayout/motion/widget/KeyTrigger) | Defines container for a key frame of for storing KeyAttributes. |\n| [MotionController](/reference/androidx/constraintlayout/motion/widget/MotionController) | Contains the picture of a view through a transition and is used to interpolate it. |\n| [MotionHelper](/reference/androidx/constraintlayout/motion/widget/MotionHelper) | |\n| [MotionInterpolator](/reference/androidx/constraintlayout/motion/widget/MotionInterpolator) | Defines an interpolator that can return velocity |\n| [MotionLayout](/reference/androidx/constraintlayout/motion/widget/MotionLayout) | A subclass of ConstraintLayout that supports animating between various states **Added in 2.0** |\n| [MotionScene](/reference/androidx/constraintlayout/motion/widget/MotionScene) | The information to transition between multiple ConstraintSets This Class is meant to be used from XML |\n| [MotionScene.Transition](/reference/androidx/constraintlayout/motion/widget/MotionScene.Transition) | Transition defines the interaction from one state to another. |\n| [MotionScene.Transition.TransitionOnClick](/reference/androidx/constraintlayout/motion/widget/MotionScene.Transition.TransitionOnClick) | |\n| [OnSwipe](/reference/androidx/constraintlayout/motion/widget/OnSwipe) | Container for holding swipe information |\n| [TransitionAdapter](/reference/androidx/constraintlayout/motion/widget/TransitionAdapter) | |\n| [TransitionBuilder](/reference/androidx/constraintlayout/motion/widget/TransitionBuilder) | Builder class for creating [Transition](/reference/androidx/constraintlayout/motion/widget/MotionScene.Transition) programmatically. |\n| [ViewTransition](/reference/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. |\n| [ViewTransitionController](/reference/androidx/constraintlayout/motion/widget/ViewTransitionController) | Container for ViewTransitions. |"]]