title: Android - Carousel like widget which displays a portion of the left and right elements
body: <p>So I've searched high and low but couldn't find an answer to my question. What I basically need is the behavior provided by Android's ViewFlipper or ViewPager but I want to display portions of the left and right views, to indicate the user there are elements to scroll, instead of having the selected view occupying the whole screen.</p>
  
  <p>I would also like to add some effects to the left and side views, like dimming and scaling then down a little. Is it possible to do it with the stock ViewFlipper or ViewPager or do I have to roll out my own view group, à la cover flow (<a href="http://www.inter-fuser.com/2010/01/android-coverflow-widget.html" rel="noreferrer">http://www.inter-fuser.com/2010/01/android-coverflow-widget.html</a>)?</p>
  
  <p>(P.S. I don't want to use the Gallery widget, that component sucks).</p>
  
  <p>This is what we need to display once a view is selected (left and right views are still displayed):</p>
  
  <p><img src="https://i.stack.imgur.com/lsgFK.png" alt="view switcher"></p>
  
  <p>Flinging left or right would transition the main view out, dimming and reducing it a little and doing the opposite with the next or previous view.</p>