title: ViewPager with previous and next page boundaries
body: <p>I'm designing a view with multiple pages. I want edges of previous and next pages to be show like below and implement a 2 finger swipe to switch between pages.</p>
  
  <p><img src="https://i.stack.imgur.com/ddm1j.jpg" alt="enter image description here"></p>
  
  <p>I tried using <code>ViewPager</code> with negative page margin as suggested <a href="https://stackoverflow.com/questions/7725045/android-viewpager-with-previous-and-next-pages-visible">here</a> but that only shows one of the edges on the screen, not both simultaneously.</p>
  
  <p>Alternatively, is there any way i can position part of my view outside screen and then animate it giving it a <code>ViewPager</code> type effect. </p>
  
  <p>How should I go about it ? Thanks !</p>