I do not know how to implement this kind of view of slider.Can anyone guide me with it or any library?
Asked
Active
Viewed 142 times
1
-
2Using `ViewPager`. – Mann Mar 29 '16 at 13:38
-
@Mann how can i preview previous and next images with it ? – Android Geek Mar 29 '16 at 13:42
-
A viewpager with circular pager indicator. – Ritt Mar 29 '16 at 13:43
-
2http://stackoverflow.com/a/23356010/4321808 refer to this answer – Ravi Theja Mar 29 '16 at 13:44
-
1Have a look at this library https://github.com/daimajia/AndroidImageSlider hope this will help you. – Ashlesha Sharma Mar 29 '16 at 13:58
-
@Ritesh how can i focus the selected pager item as in image – Android Geek Mar 29 '16 at 14:13
-
@RaviTeja 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:10
-
@AshleshaSharma 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
-
@Mann 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
-
You can follow this tutorial for center zoomed image. http://code.tutsplus.com/tutorials/android-sdk-displaying-images-with-an-enhanced-gallery--mobile-11130 – Ashlesha Sharma Apr 04 '16 at 06:42
3 Answers
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
-
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
-
please see the image in my question in which twitter logo is coming up and others are in bacground – Android Geek Apr 01 '16 at 12:10
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