I need to take a view pager in an application which consist of three pages.
I am new to android view pager.
I have one view named TestSwipingView
in second half of the screen and another view for the top half of the screen.
How do I configure only TestSwipingView
as swipe-able?
This is how I implemented it. It may give you some idea too.
Step 1 : In my main activity, I have made my page adapter and called it in onCreate().
Step2: This is my Custom Adapter for your example:
Step 3 : My Layouts:
Main Layout :
Layout to put inside the ViewPager in MainLayout:
Layout to put inside the ViewPager in MainLayout:
Hope this helps you..:)..Good Luck..:)