5

Is there an owerwrited class ViewPager for paging on two-dimensional array of Views? Paging to horizontal and vertical.

Cœur
  • 37,241
  • 25
  • 195
  • 267
user1171075
  • 51
  • 1
  • 4

2 Answers2

3

Here is a project which aims to allow both Vertical and Horizontal Scrolling on a ViewPager:

Jake Wharton - Directional ViewPager

The project is open source so I'm sure you could further adapt this implementation or perhaps this will be adequate.

Scott
  • 2,593
  • 1
  • 22
  • 23
  • if you turn off the screen the example application would crush. – midnight Dec 26 '12 at 07:22
  • Hi Scott i have seen Jake Wharton lib but i want to design something like this http://stackoverflow.com/questions/21877270/how-to-make-two-way-carousel-in-android , please let me know if you have any idea about that. – Rajan Feb 19 '14 at 12:23
-3

You can achieve this by setting screenOrientation to landscape, then putting the content of the viewpager as if it is in the portrait mode.

conrad
  • 85
  • 9