Creating tabs using Fragments now that TabActivity is deprecated

You will need to use the android compatibility library to use fragments. It can be found as a jar file in your android sdk folder.

There are many tutorials out there for fragments.

There is a project named ActionBarSherlock which demos all the capability of the compatibility library. Source code is also available on github. The link is on there site.

This is another tutorial
http://mobile.tutsplus.com/tutorials/android/android-compatibility-working-with-fragments/

Leave a Comment