I want to have coverflow effect using ViewPager. I found CoverFlowWidget since its extending Gallery widget which is deprecated its better to go on with ViewPager
instead.Any idea how can I achieve this?
Asked
Active
Viewed 5,166 times
4
3 Answers
3
I'm currently looking on how to do this too.
I think you should use : https://gist.github.com/8cbe094bb7a783e37ad1 and add a PageTransformer to the ViewPager.

magiccyril
- 657
- 1
- 6
- 14
-
I know how to use ViewPager but i dont know How to made it look like CoverFlow? – Manoj Jan 09 '13 at 04:47
-
3With a PageTransformer that change rotationY of pages – magiccyril Jan 09 '13 at 08:29
1
Create a container (layout) to house your ViewPager. Set setClipChildren(false) on both the container and ViewPager. Set the ViewPager's width to container/2 if you want to show 2 whole pages (1/2 left, 1 center, 1/2 right)

cheezy
- 446
- 1
- 5
- 17
0
use ViewPager setPageMargin to make offscreen pages visible at the same time. Then use setPageTransformer to make cover flow animation.

Patt
- 11
- 2