Question

I want to implement something simlar to this Google+ layout. The page scrolls until the tabs at the bottom hit the top. Then the list view in the tabs scroll. Does anyone have an idea to do that? (The tabs should still be visible but the content inside scrolls.)

Please don't hesitate to ask for clarification.

Any help is appreciated. Thanks.

Tabs

Was it helpful?

Solution

If you were to use uiautomatorviewer to examine that app, I suspect that you will find that the tabs are a tabbed indicator for a ViewPager. PagerTabStrip is one that ships with the Android Support package, the ViewPagerIndicator library has another, and there are still more floating around out there. Such a tab strip can be placed pretty much anywhere.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top