Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View Pager tabs in middle of fragment

How do i implement these tabs, the same as in Google plus profile page?

I think I can't use ActionBar tabs as they are clinged to ActionBar. I want the tabs to be below an image like in this image. Also i want these tabs to be fixed. I want three tabs and all three tabs should be visible on screen - as the android fixed tabs plus swipe layout which uses Action Bar tabs though.

Google Plus Profile

like image 291
gitter Avatar asked Oct 02 '22 06:10

gitter


1 Answers

Have a look at Jake Wharton's excellent Android ViewPagerIndicator library.

This sample gives you what you are after.

like image 136
Dan Avatar answered Oct 07 '22 18:10

Dan