title: How can I go from one xml layout to another
body: <p>I am a noob at developing apps and am just learning, and for that reason I am getting errors. How would you do it in the Java? This is what I did:</p>
  
  <pre><code>           //This is under the menu where I would click the button
  
  `package com.shipment.emulatorfix;
  `import android.app.Activity;
  `import android.content.Intent;
  `import android.os.Bundle;
  `import android.view.View;
  `import android.widget.Button;
  
   public class TestingEmulatorActivity extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      Button strikes = (Button) findViewById(R.id.bStrikes);
      strikes.setOnClickListener(new View.OnClickListener() {
  
          public void onClick(View v) {
  
              // TODO Auto-generated method stub
              startActivity(new Intent("com.package.testingemulator.STRIKES"));
          }
      }); 
  
  
  
  }
  
  
  }
  
  
     `
  </code></pre>
  
  <p>//This is under the new layout</p>
  
  <pre><code> `       package com.shipment.emulatorfix;
  
   `import android.app.Activity;
   `import android.os.Bundle;
  
   `public class strikes extends Activity{
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.strikes);
  } 
  
     `}
  </code></pre>
  
  <hr>
  
  <p>Thank you, and please tell me any changes or what you would do to go to the other layout.
  THANK YOU!</p>