Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (14 loc) · 967 Bytes

File metadata and controls

25 lines (14 loc) · 967 Bytes

Complex-Android-MotionLayout-Animation

sample

MotionLayout Complex Animation

Originally based on this Dribbble shot.

Design on Dribbble

Android solution using only MotionLayout and Material Components library.

No custom components or views.

Explanations

Originally we have 5 imageViews which holding pizza images.

If there will be more than 5 pizzas they will change between itselfs with some nasty code solution.

Also, same carousel can be done with RecyclewView, SnapHelper and Custom ItemDecorator.

Dragging toppings can be done via DragAndDrop methods available in Android, but I'm lazy to do this.