View Pager tabs in middle of fragment

2.8k views Asked by At

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

2

There are 2 answers

1
Dan On

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

This sample gives you what you are after.

0
Kokusho On

i have been looking for something like that, but the closest solution i have found is this:

Google+ profile like scrolling Effect

Hope it helps.