Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fragment based Tabs without ActionBar

Google's FragmentTabs demo feels very hackish to me. Does anyone know a nice way to have fragment based tabs that do not rely on the ActionBar?

The ActionBar is not an option, because the tabs must appear somewhere else on the screen. Also, the ActionBar lacks in the support library.

Just wanted to check before I go on and build my own solution...

like image 351
Markus Junginger Avatar asked Jan 18 '26 23:01

Markus Junginger


1 Answers

I used this implementation in my app and it works great. It does not require an ActionBar and uses Fragments with a ViewPager. I came across this if anyone is still interested...

SwipeyTabs

Also here is a blog post about it:

http://blog.peterkuterna.net/2011/09/viewpager-meets-swipey-tabs.html

like image 179
b_yng Avatar answered Jan 21 '26 12:01

b_yng



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!