My problem is, I would like to create a RecyclerView with images for their cards (donno if I should use CardView or simple Relative Layout).
If scrolling down, images would move up with a kind of overlap:
- first card is seen
- when second card at y=0 hits top of the screen, it starts shrinking and the next card starts to move up above it (covering space of the previous card) and when fully shown it moves up until the next card needs to move over the previous one.
I know this description is lame, I don't know how to show it. It is somehow similar to Parallax but I don't know exactly how to achieve this. Do I need to write a full calculation on how the card will shrink.
- If so, where do I put this to make it scrollable in recyclerView?
- Do I make my own RecyclerView class or LayoutManager or both?
I would just like to get pointed in the right direction to start experimenting but I don't know where to begin.
I've created the basic RecyclerView with custom adapter for the images and content but now I need to add this customized scrolling for the list.