public void inflateOverflowMenu ( int menuId ) { mMenuId = menuId ; mMenuView . reset ( menuId , actionMenuAvailWidth ( ) ) ; if ( mIsFocused ) { mMenuView . hideIfRoomItems ( false ) ; } }
Inflates the menu items from an xml resource .