-1

enter image description here

I am searching for this for my whole day but I cant find any library or code to achieve this view pager animation. I want to achieve exactly like this(As shown in below image) center image is now showing image and previous and next image will be displayed in back. Thanks in advance please help me by sharing your knowledge. Thanks in advance.

Pravin Divraniya
  • 4,223
  • 2
  • 32
  • 49

2 Answers2

1

Try this:

mViewPager.setClipToPadding(false);
mViewPager.setPageMargin(Utils.dpToPx(24));
mViewPager.setPadding(Utils.dpToPx(44), 0, Utils.dpToPx(44), 0);
Embydextrous
  • 1,611
  • 1
  • 12
  • 20
0

You are looking for is here.

You customize them according to your design or you can get basic idea how is works might be help full for you.

1) FancyCoverFlow

enter image description here

2) Coverflow Android

enter image description here

Sohail Zahid
  • 8,099
  • 2
  • 25
  • 41