Android Swipe View with Tabs

view story

http://stackoverflow.com – How can I add a tab underline that follows the swipe like in the google play store. For now the tab line only moves when I finish the swipe. Also how can i add a background between fragments while swiping. (HowTos)