Как я могу добиться воспроизведения в виде вкладок, таких как вкладки (Hide on scroll, правильные поля, тонкий индикатор)? Я пробовал SlidingTabs и некоторые другие библиотеки, но все они устарели.
Более подробно, когда я разрабатывал API 20 и меньше (до Android 5.0), я называл actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
?
Теперь с Android 5.0 весь ActionBar заменяется ToolBar.
Каков правильный способ использования вкладок в Material Design с помощью ToolBar? Как я могу заставить вкладки скрываться в прокрутке?
Спасибо!
Скриншоты: