简体   繁体   English

是否有TabHost允许滑动并使用视图?

[英]Is there a TabHost that allow swiping and works with views?


I have built my application a couple of years ago, and I made it without any Fragments . 几年前,我已经构建了我的应用程序,并且没有任何Fragments Therefore all the initializations of the UI are placed in one main class (the main activity ) I am not interested to change the whole coding of my application so I can use a ViewPagerIndicator or ActionBarSherlock . 因此,UI的所有初始化都放在一个主类(主要activity )中,我不希望更改应用程序的整个编码,因此可以使用ViewPagerIndicatorActionBarSherlock Therefore I am asking if is there any TabHost which handles horizontal swiping gestures that is not hard to set up, and using Views , like the orginal TabHost . 因此,我TabHost是否有任何TabHost可以处理不难设置的水平滑动手势,并使用Views (例如原始的TabHost Thanks! 谢谢!

我决定使用很棒的ViewPagerExtentions库,该库允许滑动和按我的意愿工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM