Cover Flow effect with ViewPager

I want to have a coverage effect using ViewPager. I found CoverFlowWidget with the Gallery widget extension, which is not recommended to be used instead of ViewPager . Any idea how I can achieve this?

+4
source share
3 answers

I am currently looking at how to do this.

I think you should use: https://gist.github.com/8cbe094bb7a783e37ad1 and add PageTransformer to the ViewPager.

+3
source

use ViewPager setPageMargin to simultaneously display unclosed pages. Then use setPageTransformer to create a flow animation.

0
source

Create a container (layout) to place your ViewPager. Set setClipChildren (false) in both the container and the ViewPager. Set the width of the ViewPager to the / 2 container if you want to show 2 whole pages (1/2 on the left, 1 center, 1/2 on the right)

0
source

All Articles