Android TabLayout custom menu
- by MostafaEweda
I have a TabLayout containing tabs as intents to activities.
I want to set custom menu items for each tab, but the onCreateOptionsMenu version called is the Host's version.
How can I make the menu items created by each activity on its own.