I want to achieve an effect like this one which I saw in the Flamingo twitter client. I have tried animating the card with something like cardView.animate().scaleY()
but when the card changes sizes it draws on top of the others instead of moving the cards below down to fit the expanded card.
How do I achieve this effect? I am interested in the way the framework handles animations in lists and such as well so I don't want third-party library solutions.
I'll add just to make sure that my question is about how to expand items inside the recyclerView in a smooth way and not about CardViews itself.