Code example for FrameLayout

Methods: removeAllViews

0
	 * Removes all tabs from the tab widget associated with this tab host. 
	 */ 
	public void clearAllTabs() { 
		mTabWidget.removeAllViews();
		initTabHost(); 
		mTabContent.removeAllViews();
		mTabSpecs.clear();
		requestLayout();
		invalidate();
	} 
 
	public SlidingTabWidget getTabWidget() { 
		return mTabWidget;
	} 
 
	public int getCurrentTab() { 
		return mCurrentTab;
	} 
 
	public String getCurrentTabTag() {
		if (mCurrentTab >= 0 && mCurrentTab < mTabSpecs.size()) {