如何:将一个TabbedLayout一个ViewPager内 [英] How to: Put a TabbedLayout inside a ViewPager

查看:137
本文介绍了如何:将一个TabbedLayout一个ViewPager内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想实现像在此图像的网址
我已经实现与

和我有succedded。我要的是要显示的下添加另一个水平滚动的层。想象具有一周作为主卷轴和第二卷轴一些特定电视频道的天应用程式;我们的想法是,以允许用户选择的一天,然后将信道以检查什么在

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?

推荐答案

您可以使用这个库

ViewPageIndicator

这篇关于如何:将一个TabbedLayout一个ViewPager内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆