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
In interface design, a tab is a graphical user interface object that allows multiple documents or panels to be contained within a single window, using tabs as a navigational widget for switching between sets of documents.
Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy. The Tab Bar contains the Tab Scroller and Tab components.
Actually google has not released anything, but my custom library uses the style and animation defined in the Material Design
guidelines.
Here you can find it, good work!
Google has released a Material Design Support Library, which includes a TabLayout
to create Material design easier
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With