0

I want to introduce RecyclerView items like on photo below. Items overlap on each other on the top and every item have different margin from top which depends on vertical position on screen. How can I do it? enter image description here

Ryan M
  • 18,333
  • 31
  • 67
  • 74
Sasha Balyas
  • 420
  • 5
  • 13

2 Answers2

1

Use this librabry and customize by as per your requirement

https://github.com/loopeer/CardStackView

Nikhil Vadoliya
  • 1,542
  • 10
  • 17
-1

Try using the fragments via viewPager. For example visit viewpager-to-navigate or Stackoverflow Question or Transitions using ViewPager

jitain sharma
  • 584
  • 5
  • 19
  • Did you see photo via link in my question post? I want to create layout manager which can listen top value of every item and depends on it make overlapping value more or less. Please, help =) – Sasha Balyas Apr 21 '18 at 13:53
  • Yes it will, go with the tutorials on viewpager. Modify the way you want to achieve. – jitain sharma Apr 21 '18 at 13:56
  • For me very importnat use recyclerview. I attach link for video [link](https://drive.google.com/file/d/16rcnAS7MyftrzwqJ0TF1bXqzZ8hrypPK/view?usp=sharing) Please, help. – Sasha Balyas Apr 21 '18 at 15:39
  • Sasha, viewPager will be perfect if the cards are limited as in video. For coding you should follow some tutorials available on net. – jitain sharma Apr 21 '18 at 15:44