title: Dynamically load layout in Android
body: <p>My application requires 2 screens and for this I have created two different <code>XML</code> layout files using <code>RelativeLayout</code>. One layout file loads whenever I run my Activity. Now I want to load the second layout on to the same <code>Activity</code> , when user click on a button in <code>OptionsMenu</code> and also when user press Back button the first screen loads instead of exiting the application. So that i don't need to create another <code>Intent</code> in my application.</p>