title: How can I use fragments, now that TabActivity is deprecated?
body: <p>I have a main activity with a sort of dock at the bottom, with 4 icons: A, B, C, D.</p>
  
  <p>I already tried getting a response to a question <a href="https://stackoverflow.com/questions/9868445/how-do-i-replace-a-fragment-in-a-tabhost">here</a> involving replacing a fragment within a given tab but did not get an answer. I began to think that maybe I was heading down a wrong path. So now I thought up a new way of implementing it which basically forces me to use the now deprecated TabActivity. The question is, why is it deprecated?</p>
  
  <p>My idea is to implement a system as such :</p>
  
  <pre><code>TabActicity(TabActivity)
  Tab A(FragmentActivity) -&gt; Fragments
  Tab B(FragmentActivity) -&gt; Fragments
  Tab C(FragmentActivity) -&gt; Fragments
  Tab D(FragmentActivity) -&gt; Fragments
  </code></pre>
  
  <p>Meaning each Tab has its own fragmentActivity that its fragments. Is this the way of implementing the system instead of having a FragmentActivity as my TabController and using fragments as each individual tab ?</p>