user1171075
user1171075

Reputation: 51

Analog ViewPager for paging to horizontal and vertical

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

Upvotes: 5

Views: 3338

Answers (2)

conrad
conrad

Reputation: 85

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

Upvotes: -3

Scott
Scott

Reputation: 2602

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.

Upvotes: 3

Related Questions