title: How to detect when android option sub-menu exit?
body: <p>I am trying to detect if user cancels(quits without choosing any option).I tried overwriting <strong>onOptionsMenuClosed(Menu menu)</strong>, and <strong>onKeyUp(int keyCode, KeyEvent event)</strong>(in order to detect menu &amp; back keys) in the activity. But, non of them responses to sub menu. How can i detect when android option sub-menu exit?</p>