title: Returning to main menu in android by a button click
body: <p>In android, my app provides a button that the user can click to return them back to the screen that appears when the app is opened (onCreate).</p>
  
  <p>How can I set that button to return the user to the main menu?</p>
  
  <p>I have something like this in a switch statement (on click):</p>
  
  <pre><code>         case R.id.return_main:
              onCreate();
              return;
  </code></pre>
  
  <p>Where return_main is the id of the button....I know that isn't right but I couldn't think of any other way.</p>
  
  <p>Thanks!</p>