Code example for LinearLayout

Methods: addViewsetOrientation, setLayoutParams

0
	 * 
	 * @return the visual layout of the whole tabbed screen. 
	 */ 
	private LinearLayout createTabRoot(Activity activity)
	{ 
        LinearLayout tabRootView = new LinearLayout( activity );
        tabRootView.setOrientation( LinearLayout.VERTICAL );
        tabRootView.setLayoutParams(
        		new ViewGroup.LayoutParams(
						LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT ) );
 
		tabRootView.addView( createTabWidget( activity ) );
		tabRootView.addView( createTabContent( activity ) );
 
		return tabRootView;
	} 
 
	/** 
	 * Creates the widget that holds the content of a 
	 * tab. 
	 *