I need the options menu to always appear on the screen. I wrote code to open the options menu when the action started.
@Override
public void onAttachedToWindow() {
openOptionsMenu();
};
But when you click on another item on the screen, the menu decreases. I want the menu to always be displayed on the screen. Is there any way to do this?
source
share