title: Menu like SKOUT and Sliding from One View to Another by touch in Android
body: <p>I want to implement  a sliding Menu like FB or G+ app and I have found some sample code from <a href="https://github.com/gitgrimbo/android-sliding-menu-demo" rel="nofollow noreferrer">FB Menu Demo</a> and <a href="https://github.com/jfeinstein10/SlidingMenu" rel="nofollow noreferrer">https://github.com/jfeinstein10/SlidingMenu</a></p>
  
  <p>These are good to begin with, But I need something extra from them. Like here it works only on the click of the menu button but I want to move it by gestures as well. 
  I want to have the behavior that there is a center view and on moving that center towards the right, one view will appear and on moving that towards left, the menu will appear. Say there are three views A,B,C and when I swipe C towards left then A appear and when I swipe C towards right then B appear. C is in the middle of A and B. </p>
  
  <p>1.Middle view moves towards right</p>
  
  <p><img src="https://i.stack.imgur.com/2sYhf.png" alt="That screen is in the middle"> Move towards right  <img src="https://i.stack.imgur.com/rlP5v.png" alt="Menu appear "></p>
  
  <p>2.Move the middle view towards left side </p>
  
  <p><img src="https://i.stack.imgur.com/CGVOy.png" alt="Move towards the left by touch">  Move towards left<img src="https://i.stack.imgur.com/7Pezy.png" alt="Third view"></p>
  
  <p>Now my question is: What are the best practices to develop the views like that. I have heard from someone that I should use fragments and View pager as well. So how can I develop this? Is there any sample implementation done by anyone ? Any help and suggestions are appreciated.   </p>
  
  <p>For reference see this app which uses this type of sliding b/w views <a href="https://play.google.com/store/apps/details?id=com.skout.android&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5za291dC5hbmRyb2lkIl0." rel="nofollow noreferrer">Skout app</a></p>