public boolean clickMenuItem ( int menuItemResId ) { final RoboMenuItem item = new RoboMenuItem ( menuItemResId ) ; return realActivity . onMenuItemSelected ( Window . FEATURE_OPTIONS_PANEL , item ) ; }
Perform a click on a menu item .