I want to create a RecyclerView in Android which contains ViewHolders, that change their width and height as shown in the GIF below. I tried several LayoutManagers for the RecyclerView but I did not manage to get the result I wished for.
The RecyclerView should be a 1 dimensional row.
Hi you can use this to animate the views inside your RecyclerView as shown on the GIF below:
My adapter:
My MainActivity :
My MainActivity Layout
And finaly this MyHolder Layout :