How can we create a cylindrical viewer?

I'm trying to implement a cylindrical pager view something like this (instead of square pages, I need circular pages).

enter image description here

I tried ViewPager with previous and next page borders

How can i do this?

+6
source share
2 answers

I suggest you use Fancy Cover Flow , this is exactly what you are 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" /> 
0
source

Use the viewpager with the add-on and use PageTransformer for this. this quiz

0
source

Source: https://habr.com/ru/post/984948/


All Articles