1

I want to swipe between screens with finger touch like the image below.

enter image description here

And the second screen should not be streched to the all of the screen but just the left part.

thx.

Community
  • 1
  • 1
Med Besbes
  • 2,001
  • 6
  • 25
  • 38
  • I'd lookup viewPager or look at this tutorial http://developer.android.com/training/implementing-navigation/lateral.html – Eluvatar May 20 '13 at 16:27
  • your are looking for a drawer: http://stackoverflow.com/questions/11377472/navigation-drawer-is-official-slide-out-menu-like-android-google-and-youtube – Emil Adz May 20 '13 at 16:30
  • Have you read about Navigation Drawers? http://developer.android.com/training/implementing-navigation/nav-drawer.html – daniel_c05 May 20 '13 at 16:42
  • take a look at this amazing sliding menu : https://github.com/jfeinstein10/SlidingMenu/ – Rudi Oct 10 '13 at 06:49

1 Answers1

1

This pattern is called navigation drawer. A new official Android guideline on such design can be found at

http://developer.android.com/design/patterns/navigation-drawer.html

and how to implement it at

http://developer.android.com/training/implementing-navigation/nav-drawer.html

Neoh
  • 15,906
  • 14
  • 66
  • 78