Good afternoon, I want to make Action Bar in the style of a new Youtube application. Those. ActionBar in several levels. The search string, below all the buttons there, how can this be implemented?
1 answer
Go to the Toolbar , search using SearchView . These two widgets are made for each other and you don’t have to cut a bike.

But the buttons, which are called tabs. For them, use the TabLayout + ViewPager .

PS Screenshots from my application in which I studied all the elements of Material Design and widgets from libraries
Githab code:
The essence of the application:
Main screen with 18 points. 18 activities:
FABat the click moves to random coordinatesWhen clicking on
FABSnackBarpops upSnackBarWhen you click on the
FABbottom pops upBottomSheetStupid implementation of
FABMenuWhen scrolling
RecyclerViewfloatsFABandToolbarGridView+TransitionsScenes
CircularRevealCollapsingToolbarLayout+NestedScrollViewCardViewTextInputLayout+PasswordVisibilityToggleSearchView+RecyclerViewAdd to list / bulk delete from list
List sorting + Deleting by svaypom + Drag & Drop
ViewPager+TabLayoutDrawerLayout+NavigationView+Header/FooterBottomNavigationViewRecyclerView+CardView
- If you need I can upload the code to the githab and add the answer with the link - Flippy
- it would not be bad - Kostya M
- thanks in advance - Kostya M
- @Kostya M, added. It's my pleasure! - Flippy
- Links to git broken - Ilya Chizhanov