title: Android ViewPager with previous and next pages visible?
body: <p>I am currently building a horizontal gallery of videos.</p>
  
  <p>I'd like to make something like that with only one video centered and part of previous and next videos:
  <img src="https://i.stack.imgur.com/0kiIZ.png" alt="enter image description here"></p>
  
  <p>I first opted for a <a href="http://developer.android.com/reference/android/widget/Gallery.html" rel="noreferrer">Gallery</a> but its limitations made me look for something else. I'd like to show a page indicator and it is quite difficult to implement using a Gallery.</p>
  
  <p>The second option was to go for a <a href="http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html" rel="noreferrer">ViewPager</a> from Android Compatibility library. I found a way to implement a <a href="https://github.com/JakeWharton/Android-ViewPagerIndicator" rel="noreferrer">page indicator</a> over it. But now, how to partly show left and right pages?</p>