How to auto scale image on focus while scrolling in android

enter image description here

I am trying to implement the above scenario, there have been several projects like oval, star, rectangle, square and many more, when I scroll through these images, the center image should scale when it focuses and when scrolling through the images, the left images should be scaled down and, of course right, as described in the image.

I tried so many examples of carousel android but it doesn't work for me. Also tried horizontal scrolling , but the result remains the same. I have implemented this example from github see this https://github.com/ninchuu/android-carousel

Please take a look at the link below what I exactly want to do, http://coolcarousels.frebsite.nl/c/17/

So, can anyone tell me what should I do? Thank you in advance

+3


source to share


1 answer


I know this is too long, but I also tried to do everything the way you want. Many thanks to Deep Mehta who created such a great example.

You can download the complete example from the github link
https://github.com/DeepMehtaIPath/ImageSlider-for-Android



Hope this helps you solve your problem.

+1


source







All Articles