Skip to content

the-momentum/DynamicMotionLayoutBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic MotionLayout bar

Example of MotionLayout created programmatically

Before you start

To read and possibly understand this code, you need to know the basics of MotionLayout and how to create a custom view to be used in XML. The project, to keep it simple, is not created with production code in mind meaning that resources are not extracted, code lacks style management etc.

Example 1

ActivableImageView - custom imageView that changes alpha and color upon activation

example_1

Example 2

XML created motion layout that uses ActivableImageView from Example 1

example_2

Example 3

StepProgressBarView - custom view with steps to show progress

example_3

About

Example of MotionLayout created programmatically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages