I've created a ViewPager
. and I want to add scrollable tabs (swipey tabs) to make it more flexible (like google play).
and all the tutorials that i found using ActionBar
.
How can i do it without using ActionBar
?
ViewPager in Android allows the user to flip left and right through pages of data. In our android ViewPager application we'll implement a ViewPager that swipes through three views with different images and texts.
PagerTabStrip
and the tab flavor of ViewPagerIndicator should both give you swipey tabs.
This link will be helpful to you and you achieve that by following the example explained in the tutorial.
Or
You can search for SupportV4Demos
in Samples and you can find the example FragmentTabs and Pager example to achieve that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With