Code example for FragmentActivity

Methods: getMenuInflater

0
	} 
 
	@Override 
	public boolean onCreateOptionsMenu(Menu menu) {
		if (this.menu != 0) {
			getMenuInflater().inflate(this.menu, menu);
			return true; 
		} 
		return false; 
	} 
 
	@Override 
	public boolean onOptionsItemSelected(MenuItem item) {
		return super.onOptionsItemSelected(item);
	} 
 
	@Override 
	public boolean onContextItemSelected(android.view.MenuItem item) {
		return super.onContextItemSelected(item);
	}