title: Move from one layout to another using button
body: <p>I want to move from one xml to another. The other xml is in resetView method. How should I do it . Please help. I can also add a button on the first layout . On clicking that button I want move to the other xml layout i.e astigmatism test layout. How should I do it?? The code is as follows:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setContentView(R.layout.astigmatism_image);
          ImageView image = (ImageView) findViewById(test_image);
  
      }
  
  
  
      private void resetView(){
          setContentView(R.layout.astigmatismtest);
          setObjects();
          int a[] = { R.id.leftEye, R.id.rightEye };
          setOnClickListener(a);
  
  
      }
  </code></pre>