title: How to open new android XML page with button in Android?
body: <p>I want to make a app that has buttons that open new <code>XML</code> pages for the user to view. I'm new to this and from the little I found, I think I need something like this but I'm not sure and could be wrong:</p>
  
  <pre><code>Button myButton = (Button) findViewById(R.id.my_button);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>setContentView(R.layout.page1);
  </code></pre>
  
  <p>But I'm not sure of the imports and also if anyone knows on good tutorials that I could follow to learn more on coding Android apps.</p>