title: Using tabs inside a Fragment (not FragmentActivity)
body: <p>I'm currently creating an app in which the main screen is build up out of 2 <code>Fragments</code>. 
  When the user selects options on the main screen, one part of the screen gets replaced by a new <code>Fragment</code>, all pretty much basic stuff.</p>
  
  <p>Now I'm trying to create a screen with several tabs, which all open a new fragment inside them. I had this working with regular intents, but that was before switching to <code>Fragments</code>.
  I read that this is possible by using a <code>FragmentActivity</code>, but sadly you can't replace a <code>Fragment</code> with a <code>FragmentActivity</code>, simply because the transaction won't let you.</p>
  
  <p>Is there any way of doing this inside an ordinary <code>Fragment</code>? Or should I try mimicking the behavior by using a layout with a fragment inside which gets replaced by another one at the press of a button, much like the main screen?  (Or won't that work due to fragments in fragments?)</p>