Having vertically scrolling pages in ViewPager

前端 未结 2 998
长发绾君心
长发绾君心 2021-02-08 10:06

This may be obvious and a completely unneeded post but I had been having quite an issue resolving a way to allow vertical scrolling functionality on pages in a VewPager and ther

相关标签:
2条回答
  • 2021-02-08 10:42

    I made similar one that using fragments in viewpager. tabWigdet can be shown or not. that example included in android-support-v4 demo application.

    0 讨论(0)
  • 2021-02-08 10:48

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

    0 讨论(0)
提交回复
热议问题