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.
I have existing application that has a listview and read data from internet using json. Now I want to make swipe tabs layout so my user can swipe to different views of my listview. I found many resources to use tabs with swipe but using fragments. How can I start my activity within the chosen fragment. I tried many ways and i failed.. This link contains fragment example.
I have a swipe between tabs feature in an app I am developing using a FragmentPagerAdapter. My question is: how do I prevent the "can't go any further" animation for swiping at the first and last view?
So, say you have three tabs and you're already on the most far right tab. If you try to swipe right again, that gray/black shadow shows up, indicating that you can't go any further.