6

I am trying to implement a cylindrical view pager something like this(Instead of square pages I need circular pages).

enter image description here

I tried ViewPager with previous and next page boundaries

How can I make a view like this?

Community
  • 1
  • 1
Anu
  • 1,255
  • 2
  • 21
  • 38

2 Answers2

0

I suggest you to use Fancy Cover Flow, this is exactly what you looking for

<it.moondroid.coverflow.components.ui.containers.FeatureCoverFlow
        android:id="@+id/coverflow"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        coverflow:coverHeight="@dimen/cover_height"
        coverflow:coverWidth="@dimen/cover_width"
        coverflow:maxScaleFactor="1.5"
        coverflow:reflectionGap="0px"
        coverflow:rotationThreshold="0.5"
        coverflow:scalingThreshold="0.5"
        coverflow:spacing="0.6" />
Aditya Vyas-Lakhan
  • 13,007
  • 15
  • 58
  • 92
0

Use viewpager with padding, and use PageTransformer for this purpose.refer this quiz

Community
  • 1
  • 1
Bincy Baby
  • 2,839
  • 4
  • 31
  • 56