1

I do not know how to implement this kind of view of slider.Can anyone guide me with it or any library?

enter image description here

Mann
  • 560
  • 3
  • 13
Android Geek
  • 598
  • 1
  • 5
  • 20

3 Answers3

0

Have a look at this link, its easily understood and does what u want.

http://www.androprogrammer.com/2015/06/view-pager-with-circular-indicator.html

D Agrawal
  • 471
  • 4
  • 15
0

This is actually referred as carousel. Kindly view the following link :

https://android-arsenal.com/details/1/838

This library contains variations and 'simple example' of demo app is near to your requirement.

Sabih Ahmed
  • 102
  • 8
  • can you just tell me how can i zoom up the centre image? I am using gallery view. please help thanks. – Android Geek Apr 01 '16 at 09:11
  • @AndroidGeek kindly see this : http://prntscr.com/amsgl2. I assume the library handles this itself. In your case, you have to adjust the spaces between your images. – Sabih Ahmed Apr 01 '16 at 13:52
0

adjust the margin with mPager.setPageMargin(margin in pixel); in the sample project to achieve above effect

I had customized the ViewPage to achieve it without using negative margin, find a sample project here https://github.com/44kksharma/Android-ViewPager-Carousel-UI it should work in most cases but you can still define page margin with mPager.setPageMargin(margin in pixel);

44kksharma
  • 2,740
  • 27
  • 32