title: Activity restarts my game on screen rotation (Android)
body: <p>I know this question was already asked, but mine is a little different:</p>
  
  <p>I have 2 different layout files for my game; one for portrait mode and one for landscape. When  I rotate the screen, the onCreate method restarts my game (creates all the elements again). I don´t want this to happen, so I wrote this line in the manifest:</p>
  
  <pre><code>android:configChanges="orientation"
  </code></pre>
  
  <p>It works, onCreate is not called, but the new layout is not being showed properly!</p>
  
  <p>I tried to put the following code in my Activity, but it just keeps doing weird things:</p>
  
  <pre><code>@Override
  public void onConfigurationChanged(Configuration newConfig) {
    super.onConfigurationChanged(newConfig);
    setContentView(R.layout.gameview);
  }
  </code></pre>
  
  <p>how can I fix this?
  thanx guys</p>