/MotionLayout

Getting started with Android Motion Layout.

Primary LanguageKotlin

Android Motion Layout Animations

Getting started with Android Motion Layout.

Basic animation with two constraints sets and onClick trigger.

Basic_MotionLayout_Animation.mp4

Drag animation

Drag.animation.mp4

Motion animation modifying the path. Animation starts onClick action.

Motion.path.mp4

Motion animation multiple the paths to get a more customizable movement

Motion.Layout_with_a_set_of_path_animations.mp4

Motion animation multiple the paths - The crazy moon - Another example

Motion.Layout_with_many_paths_animations.mp4

Changing custom attributes

Motion.Layout.-.Added.Changing.custom.attributes.mp4

Drag events and complex paths

Motion.Layout.-.Drag.events.and.complex.paths.mp4

Running MotionLayout with code:

Combine collapsing AppBar scroll listener and motion animation progress

Motion.Layout.-.Running.MotionLayout.with.code.mp4