Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (11 loc) · 718 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 718 Bytes

Android-FoldingLayout

A layout to switch over its children using a page folding animation

The current project contains a sample Activity and the FoldingLayout itself

Usage

Just add the FoldingLayout to your layout and insert as many children view as you want.

Initially, the control will only show the first one. Execute the flip() method to turn the page (calendar-style) to the next one.

You can reverse the direction with the reverserDirection() method.

You can also setup an Interpolator in order to change the curve of the animation. A linear interpolator is used by default.

Check the sample and the video demonstration on YouTube: https://www.youtube.com/watch?v=QmIUudTseFs