How to: Put a TabbedLayout inside a ViewPager

限于喜欢 提交于 2020-01-14 13:27:11

问题


Am trying to achieve something like the image in this url I have implemented that behavior with this library

And i have succedded. What i want is to add another horizontally-scrollable layer under the one shown. Imagine an app that has the days of the week as the primary scroller and some specific tv channels in the second scroller; The idea is to allow the user to pick the day and then the channel to check whats on.

This is the best approximation i can give for what i want, but i dont know how to implement the second scroller. Can i do it with tabs?


回答1:


You can use this library

ViewPageIndicator



来源:https://stackoverflow.com/questions/9686514/how-to-put-a-tabbedlayout-inside-a-viewpager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!