title: Using multiple layouts in single activity
body: <p>I am currently working on Android project where I need to use multiple layouts in the same activity.</p>
  
  <p><strong>When the user clicks a button in the main layout, then I need to have another layout(which is completely different) with different content.</strong></p>
  
  <p>I tried looking up on the Internet and found that Fragments can be used, but as far as I understand Fragments are to be used when one needs only partial changes in the new layout, whereas I need to use a a completely different layout.</p>
  
  <p>Also, I found include, but that is to use the same layout in multiple activities.
  So, not what I was looking for.</p>
  
  <p>Does anyone have any idea as to how to accomplish this?</p>