Code example for FragmentActivity

Methods: getPackageName, getResources, getSupportFragmentManager, setTitle

0
	@Override 
	public boolean onCreateOptionsMenu(Menu menu) 
	{ 
	    MenuInflater inflater = getMenuInflater();
	    int menuID = getResources().getIdentifier("io_openkit_leaderboards", "menu", getPackageName());
	    inflater.inflate(menuID, menu);
	    //inflater.inflate(R.menu.io_openkit_leaderboards, menu); 
	    return true; 
	} 
 
}