Stay organized with collections Save and categorize content based on your preferences.

Class Index

These are the API classes. See all API packages.


Animatable A helper interface allowing MotionLayout to directly drive custom views  


Barrier Added in 1.1

A Barrier references multiple widgets as input, and creates a virtual guideline based on the most extreme widget on the specified side. 


Carousel Carousel works within a MotionLayout to provide a simple recycler like pattern. 
Carousel.Adapter Adapter for a Carousel  
CircularFlow CircularFlow virtual layout. 
ConstraintLayout A ConstraintLayout is a ViewGroup which allows you to position and size widgets in a flexible way. 
ConstraintLayout.LayoutParams This class contains the different attributes specifying how a view want to be laid out inside a ConstraintLayout
ConstraintProperties Added in 2.0

ConstraintProperties provides an easy to use api to update the layout params of ConstraintLayout children

ConstraintsChangedListener Added in 2.0

Callbacks on state change

ConstraintSet This class allows you to define programmatically a set of constraints to be used with ConstraintLayout


FloatLayout Add support to views that do floating point layout. 
Flow Flow VirtualLayout. 


Group Control the visibility and elevation of the referenced views Added in 1.1

This class controls the visibility of a set of referenced widgets. 

Guideline Utility class representing a Guideline helper object for ConstraintLayout


ImageFilterButton An AppCompatImageButton that can display, combine and filter images. 
ImageFilterView An ImageView that can display, combine and filter images. 


Layer Layer adds the ability to move and rotate a group of views as if they were contained in a viewGroup Added in 2.0 Methods such as setRotation(float) rotate all views about a common center. 


MockView A view that is useful for prototyping layouts. 
MotionButton A MotionButton is an AppCompatButton that can round its edges. 
MotionEffect MotionHelper that automatically inserts keyframes for views moving in a given direction, out of:
  • EAST
  • WEST
By default, will pick the opposite of the dominant direction (e.g. 
MotionLabel This class is designed to create complex animated single line text in MotionLayout. 
MotionLayout A subclass of ConstraintLayout that supports animating between various states Added in 2.0

A MotionLayout is a subclass of ConstraintLayout which supports transitions between between various states (ConstraintSet) defined in MotionScenes. 

MotionLayout.MotionTracker Subclasses can override to build test frameworks 
MotionLayout.TransitionListener Listener for monitoring events about TransitionLayout. 
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. 
MotionTelltales A view that is useful for prototyping Views that will move in MotionLayout. 


OnSwipe Container for holding swipe infomation  


Placeholder Added in 1.1

A Placeholder provides a virtual object which can position an existing object. 


ReactiveGuide Utility class representing a reactive Guideline helper object for ConstraintLayout


SharedValues Shared values  


TransitionBuilder Builder class for creating MotionScene.Transition programmatically. 


ViewState Stores the bounds and rotation of a 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 Container for ViewTransitions.