title: How to display Android Fragments Dynamically
body: <p>I am writing an android app on android 3.1. I am showing 2 fragments side by side initially . When I select other tab I need to create 2 more fragments dynamically in order to replace the original fragments . I also need to set the width and weight of those new fragments dynamically.
  <br>
  Can anyone help me in sorting out this issue.</p>
  
  <p>Thanks in Advance</p>