title: Creating tabs using Fragments now that TabActivity is deprecated
body: <p>I am creating an application which has five tabs at the bottom of the screen, each of which opens a different Activity.</p>
  
  <p>My Tab Activity extends TabActivity which I have just read is deprecated and I should use Fragments instead.</p>
  
  <p>How do I change my app to use Fragments instead? I have read the information on android.developer.com but I still have no idea how to do this.</p>