title: Switch from the main.xml layout to another layout
body: <p>I have a basic Android question here:</p>
  
  <p>I have a main.xml layout that loads up when the app is launched.  This page has a menu button that I'd like to (when clicked) send the user to another layout (about.xml).</p>
  
  <p>I doubt this is the right.  When clicked this command is kicked in:</p>
  
  <pre><code>setContentView(R.layout.about);
  </code></pre>
  
  <p>And it seems to work, I do see the about.xml page, but I cannot navigate back to the main.xml layout when I hit the BACK button on my Android device, the app just closes.</p>
  
  <p>I doubt that this is the right way to navigate between xml layout files.  Can you please help or point me to a page that spells this out for a computer programmer beginner like myself?</p>
  
  <p>Thank you very much,</p>
  
  <p>Pat</p>
  
  <p>EDIT:
  Thanks for all the answers you helped point me in the right direction.  In an effort to help future noob programmers like myself to understand Activities, here's a great simple tutorial that I found online that mapped it out for us beginners!</p>
  
  <p><a href="http://www.warriorpoint.com/blog/2009/05/24/android-how-to-switch-between-activities/" rel="noreferrer">http://www.warriorpoint.com/blog/2009/05/24/android-how-to-switch-between-activities/</a></p>