Code example for RelativeLayout

Methods: removeAllViews, addView

0
					issueViewFactory.getHorisontalPageSwitcherController()
							.releaseController(); 
					currentPage = currentHorisontalPage.getRootPageView();
				} 
 
				layoutConteinerView.removeAllViews();
				layoutConteinerView.addView(issueViewFactory
						.getVerticalPageSwitcherController() 
						.getRealViewSwitcherVertical(), 
						new RelativeLayout.LayoutParams(-1, -1));
 
				issueViewFactory.getVerticalPageSwitcherController()
						.setCurrentPage(currentPage);
 
			} 
 
		} 
	} 
 
	@Override 
	public void onBackPressed() {