Reputation: 685
I've searched stackoverflow and google material design documentation quite a lot but can't find a way how to correctly implement simple fixed tabs in the new material design. I am using appcompat v7 library with toolbar which is great but can't seem to find a way to add tabs to it or simply below it as it is shown here
I've found the SlidingTabsBasic class but that does not meet my requirements as I only use 2 tabs, and they don't fill in the whole horizontal space
Could you please point me into right direction on how to implement those (maybe I have only misunderstood how google wants us to use/implement them).
Much appreciated
Upvotes: 9
Views: 5253
Reputation: 371
Google has released a Material Design Support Library, which includes a TabLayout
to create Material design easier
Upvotes: 1