title: Slide to next element in scrollview android
body: <p>I have a horizontalscrollview which has some images inside it. Something like this:
  <img src="https://i.stack.imgur.com/dtRLc.png" alt=""></p>
  
  <p>I want that when I swipe my finger on the scrollview, next image should come up directly in the middle and use can slide through all the images that way. Something like a cover art in music applications.</p>
  
  <p>How can I edit my horizontalscrollview to add this functionality?</p>
  
  <p>I know there is flipperview in android. But I want it to look like a scrollview with other images visible along the side</p>