Code example for RelativeLayout

Methods: addViewremoveAllViews

0
	public void setContent(View content) {
		if(content == null) {
			return; 
		} 
		 
		mContentView.removeAllViews();
		mContentView.addView(content);
	} 
	 
	@Override 
	public void onClick(View v) {
		switch(v.getId()){
			default: 
				break; 
		} 
	} 
 
	public void close() { 
		super.dismiss(); 
	}