1

I have a RecyclerView and I need to enlarge only the center item with animation.

I have to change it's size:

  • Increase when it appears.
  • Decrease to normal, when it goes away.

It is something like carousel, I need to achieve this effect with RecyclerView.

Any suggestions?

AstroCB
  • 12,337
  • 20
  • 57
  • 73
Warabei
  • 143
  • 1
  • 8
  • Show us the code you've written so far. – Nathaniel D. Waggoner Feb 17 '15 at 16:23
  • I haven't written something special yet, because I can't understand how to achieve this functionality. I saw some carousel examples with the horizontal scrollviews, some kind of self-made solutions with extending the view class and viewpager, but nothing about what I wrote up. – Warabei Feb 17 '15 at 22:33

1 Answers1

1

I've been trying something close to what you're trying and have found these links very useful. You can extend the classes there to suit your need:-

https://github.com/Azoft/CarouselLayoutManager (this is what i've used in my application)

3D Carousel in Android (this could perhaps give you more of an idea)

Community
  • 1
  • 1
Vijeet Vergis
  • 101
  • 1
  • 10