I am creating application which will support Android 2.2
to Android 4.1
. The TabHost
is deprecated in Android version 3.2
There are many points to your question,
TabHost
is not deprecated yet. Recently Google deprecated TabActivity
and ActivityGroup
. Now to answer your question, You have more than one options
TabHost
with fragments, See my answer here for a
good example. To use Fragment
in pre 3.0 API's you need to use
Google's support library.