How can I achieve play store like tabs (Hide on scroll, proper margins, thin indicator)? I've tried SlidingTabs and some other libraries, but they all are outdated.
In more details, when I was developing for APIs 20 and less (before Android 5.0), I used to call actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
?
Now with Android 5.0, the whole ActionBar is being replaced by ToolBar.
What is the right way to use Tabs in Material Design, using ToolBar? How can I make the Tabs hide on scroll?
Thanks!
Screenshots: