Code example for FragmentActivity

Methods: getSupportFragmentManager

0
         }  
		 
	} 
	 
	private void hideFragment() { 
		FragmentManager fm = getSupportFragmentManager();
		Fragment editor = fm.findFragmentByTag("rafa");
		FragmentTransaction ft = fm.beginTransaction();
		ft.remove(editor);
		ft.commit();
	} 
 
	@Override 
	public void pushOk(String text) {
		Toast.makeText(this, text,
				Toast.LENGTH_SHORT).show();
		 
	} 
 
	@Override 
	public void pushCancel(String text) {