I am trying to implement a cylindrical view pager something like this(Instead of square pages I need circular pages).
I tried ViewPager with previous and next page boundaries
How can I make a view like this?
I am trying to implement a cylindrical view pager something like this(Instead of square pages I need circular pages).
I tried ViewPager with previous and next page boundaries
How can I make a view like this?
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" />
Use viewpager with padding, and use PageTransformer for this purpose.refer this quiz