title: Detect KeyPress on ActionBarSherlock SubMenu
body: <p>How do I detect keypress and which key user pressed on SubMenu? [the one on the actionbar where user press and a long list would drop down]</p>
  
  <pre><code> SubMenu subMenu1 = menu.addSubMenu("Option");
          subMenu1.add("Comments");
          subMenu1.add("More screens");
          subMenu1.add("Copy Website URL");
          subMenu1.add("Go to Website");
  
          MenuItem subMenu1Item = subMenu1.getItem();
          subMenu1Item.setIcon(R.drawable.icon_share);
          subMenu1Item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS | MenuItem.SHOW_AS_ACTION_WITH_TEXT);
  
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
      switch (item.getItemId()) {
      case android.R.id.home:
          finish();
          break;
      }
  
      return true;
  }
  </code></pre>