Skip to content

Example of how to use MotionLayout for an artist page (based on artist page from Letras app).

Notifications You must be signed in to change notification settings

JuliaRAlves/MotionLayoutExample

Repository files navigation

MotionLayoutExample

Example of how to use MotionLayout for an artist page (based on artist page from Letras App). The purpose of this repository is to show how to create the collapsing toolbar animation using only layout tools. The only code needed for this was for setting the Android UI according to the original version and to set the background image and color to simulate different backgrounds.

Branches

  • master: Has layouts from before and after adding MotionLayout to a regular page. There are also comments about the functions, views and other things used for that purpose. When running the app, it's gonna show the post-MotionLayout page.
  • before-motion-layout: Contains only the layout before adding MotionLayout, so when running, this is what's going to be shown. This branch is more of a "do it yourself from scratch" thing, so feel free to fork it.

Original vs Clone

This app should be a clone from the artist page on Letras App. Nothing used in this app comes directly from their app, it's all made up by me, except for the images which I found on Google.

Original / Clone before MotionLayout / Clone after MotionLayout

Some documentation

About

Example of how to use MotionLayout for an artist page (based on artist page from Letras app).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages