Code example for TabWidget

Methods: setId, setLayoutParams

0
	private int count = 0;
 
	public TabController(Context context, TabHost tabHost) {
		this.context = context;
 
		tabWidget = new TabWidget(context);
		tabWidget.setId(android.R.id.tabs);
 
		RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
        lp.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
        tabWidget.setLayoutParams(lp);
 
        this.tabHost = tabHost;
	} 
 
	/** 
	 * ÅÇ ÄÁÆ®·Ñ¿¡ Àû¿ëÇÒ À̹ÌÁö¸¦ ¸®½ºÆ®¿¡ ³Ö´Â´Ù. 
	 *   
	 * @param normal 
	 * @param over 
	 */