Is there any other way to call openOptionsMenu after activity is displayed without using something like this:
new Handler().postDelayed(new Runnable() {
My solution
//Open menu manually from code Timer timing = new Timer(); timing.schedule(new TimerTask() { /** * {@inheritDoc} */ @Override public void run() { runOnUiThread(new Runnable() { @Override public void run() { openOptionsMenu(); } }); } }, 1000);