Code example for FragmentActivity

Methods: onDestroy

0
		log("onStop"); 
	} 
 
	@Override 
	protected void onDestroy() { 
		super.onDestroy(); 
		log("onDestroy"); 
	} 
 
	protected void setActionBarTitle(String title) {
		getSupportActionBar().setTitle(title);
	} 
 
	@Override 
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {
			log("onKeyDown KEYCODE_BACK"); 
		} 
		return super.onKeyDown(keyCode, event);
	}