In android how to add Vertical ViewPager?
<p>I have my MainActivity like</p>

<pre><code>public class MainActivity extends SlidingFragmentActivity {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
            WindowManager.LayoutParams.FLAG_FULLSCREEN);

    // Main layout
    setContentView(R.layout.activity_main);
    setBehindContentView(R.layout.menu_frame);

    // SlidingMenu
    sm = getSlidingMenu();
    sm.setFadeDegree(0.35f);
    sm.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
    sm.setBehindOffset(120);
    sm.setMode(SlidingMenu.LEFT_RIGHT);

    // Left menu
    getSupportFragmentManager().beginTransaction()
            .replace(R.id.menu_frame, new LeftMenuFragment()).commit();

    // Right menu
    getSlidingMenu().setSecondaryMenu(R.layout.menu_frame_second);
    getSupportFragmentManager().beginTransaction()
            .replace(R.id.menu_frame_two, new RightMenuFragment()).commit();

}
}
</code></pre>

<p>How can I create vertical pager in this activity? I want to also to scroll vertical between two layouts(fragments).</p>
