title: How to programatically add and remove view from Fragment
body: <p>I want to have two <code>.xml</code> layout files for a Fragment conditionally I want to launch one and change to other on some event, tried searching Javadoc to find relevant methods, any pointers would be helpful</p>