Vertical Carousel view Android using Viewpager

Viewed 5052

I was about to create a similar type of Icarousel project in IOS. After customization of UI, IOS Carousel looks like this.

enter image description here

In android I am using Viewpager to get similar type of Card which is one behind the another like this IOS UI. But I couldn't able to achieve the same think like one behind the another using Viewpager Transformation.

enter image description here

Each card in the carousel is a fragment, and I am scaling it dynamically when it is scrolled up or down. I have read some documentation like viewpager won't allow one fragment to be behind another fragment using transformation. The above android image is looking like the top and bottom card is behind the focussed card, but it is actually scaled not behind. so how to achieve this using ViewPager component not with GalleryView(deprecated) or other View. Code for my Repo Vertical Carousel

3 Answers
Related