"Deprecated" in Android means "we think there is a better solution that you should explore." Rarely "obsolete" means "it is unsuitable." TabHost , TabHost , works great on Android 4.0.
In doing so, I would recommend considering switching to tabs in the action bar using ActionBarSherlock to ensure backward compatibility with Android 2.1.
UPDATE
In addition, TabHost not out of date. TabActivity deprecated. You can still use TabHost , with views for your tabs. Or use:
ViewPager with tabbed indicator, e.g. PagerTabStripFragmentTabHost , for a TabHost that uses tab snippets
The action bar also has tab support, but this has been deprecated since the āLā Developer Preview.
source share