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-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.constraint.motion\n=================================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The Constraint Layout support library has been superseded by the [AndroidX Constraint\n| Layout library](/reference/androidx/constraintlayout/classes), which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX.\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [Animatable](/reference/android/support/constraint/motion/Animatable) | A helper interface allowing MotionLayout to directly drive custom views |\n| [MotionLayout.TransitionListener](/reference/android/support/constraint/motion/MotionLayout.TransitionListener) | **Added in 2.0** Listener for monitoring events about TransitionLayout. |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------|-------------------------------------------------------------|\n| [MotionLayout](/reference/android/support/constraint/motion/MotionLayout) | **A subclass of ConstraintLayout for building animations.** |\n| [TransitionAdapter](/reference/android/support/constraint/motion/TransitionAdapter) | |\n\n-\n\n Interfaces\n ----------\n\n - [Animatable](/reference/android/support/constraint/motion/Animatable)\n - [MotionLayout.TransitionListener](/reference/android/support/constraint/motion/MotionLayout.TransitionListener)\n-\n\n Classes\n -------\n\n - [MotionLayout](/reference/android/support/constraint/motion/MotionLayout)\n - [TransitionAdapter](/reference/android/support/constraint/motion/TransitionAdapter)"]]