Code example for LocalActivityManager

Methods: destroyActivity

		// This could be done for other content types but for the purpose of 
		// this tutorial, I am only doing this. 
		public TabSpec replaceContent(Intent intent)
			mLocalActivityManager.destroyActivity(this.getTag(), true);
			mContentStrategy = new IntentContentStrategy(mTag, intent);
			mCurrentView = mContentStrategy.getContentView();
			if(mCurrentView.getParent() == null)
				mTabContent.addView(mCurrentView, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT));
			return this;
	 * Specifies what you do to create a tab indicator. 
	private static interface IndicatorStrategy