I am trying to design one screen which contain some swipe part. I have one screen with mapview, listview and some text. My Mapview is main part of swipe, if i swipe at left then contact will shown and if i swipe right then address will be display.
Here is my image. i am showing rounded part which i need to swipe. 
How can i implement this functionality in my app. I go through with one tutorial but it didn’t help me. This tutorial teach how to swipe full screen but i need to swipe some part of the screen.
Is it possible. Give me some reference or hint. I didn’t understand viewPager .
I am trying to design one screen which contain some swipe part. I have
Share
Finally i got answer to swipe some part of the screen.
in onCreate() you need to add following line
I extend PagerAdapter class in my class.
Here is my xml file