I have an Activity with ActionBar and tab navigation. I am using the split mode, so the tabs are at the top and actions are in the bottom bar. How can I dynamically change t
Activity.invalidateOptionsMenu() requires API Level 11. Use the Support library version of it supportInvalidateOptionsMenu().
Activity.invalidateOptionsMenu()
AppCompatActivity activity = (AppCompatActivity) getActivity(); activity.supportInvalidateOptionsMenu();