Code example for DialogFragment

Methods: onCreateView

0
		setStyle(STYLE_NO_FRAME, 0);
	} 
 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		return super.onCreateView(inflater, container, savedInstanceState);
	} 
	 
	/** 
	 * 解散对话框 
	 * @param tag 
	 */ 
//	public void dismissMe() { 
//		DialogFragment frag = (DialogFragment) getFragmentManager().findFragmentByTag(this.getTag()); 
//		if (frag != null) { 
//			frag.dismiss(); 
//		} 
//		else { 
//			Log.w("", "No dialog fragment to dismiss"); 
//		} 
//	}