Skip to content Skip to sidebar Skip to footer

Viewpager In Android With Fixed Tabs At Bottom With Icon And Text In Each Tab

I want to create the following layout - an activity with a viewpager along with a tab that stays that the bottom of the activity to indicate which of the 4 fragments the user is in

Solution 1:

I was looking for same and I saw this question, here in this answer OP says that

it's against Android Design Guideline since at bottom there are soft/hard buttons like back button home button etc.

http://developer.android.com/design/patterns/pure-android.html

But if you insist on to put them at the bottom, you can implement it like GitHub example consists tabs in bottom, using FragmentTabHost.

https://github.com/rameshkec85/BottomTabsFragmentTabHost

So even I am considering it.

Post a Comment for "Viewpager In Android With Fixed Tabs At Bottom With Icon And Text In Each Tab"