Code example for LinearLayout

Methods: removeView, getParent

0
	 * <br> 
	 * Add path auto complete view to dialog. 
	 */ 
	@Override 
	protected View onCreateDialogView() {
		ViewParent parent = mEditTextlayout.getParent();
		 
		if (parent != null) {
			((ViewGroup) parent).removeView(mEditTextlayout);
		} 
		 
		return mEditTextlayout;
	} 
	 
	/** 
	 * <i>Overridden for internal use!</i><br> 
	 * <br> 
	 * Set edit text value on bind. 
	 */ 
	@Override 
	protected void onBindDialogView(View view) {