Your solution lies in ViewPager
. Here are a couple of links for tutorial.
Detailed Tutorial with source code and xml files
UPDATE
What you are asking about is Navigation Drawer
. You can find tons of tutorial on internet. Here are some good ones.
Detailed tutorial for Beginers
Hope this helps