title: Floating Scrolling fragments in android through Java?
body: <p>I would like to implement the following behavior in an android application:</p>
  <p><a href="https://i.stack.imgur.com/jWv9l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jWv9l.png" alt="enter image description here" /></a></p>
  <p>So should I use fragments with horizontal ScrollView, a ViewPager or what exactly? Would it be better to use CardView?</p>
  <p>And how to add the 2 dots at the bottom to show that we still have for example another page to show?</p>
  <p>Finally, I need only one fragment/CardView to be present at a time. That is, I don't want to see half of the first fragment and half the second. That would be annoying.</p>
  <p>I would like to know in general what pieces to use for this purpose.</p>
  <p>Any help is much appreciated!!</p>