title: Android layout configChanges
body: <p>I created layout and layout-land folders, in Manifest i have </p>
  
  <p><code>android:configChanges="keyboardHidden|orientation"</code></p>
  
  <p>If i remove the <code>android:configChanges</code> from the <strong>Manifest</strong> I can see the layout change from portrait to landscape...the problem is that the previous screens are destroyed when trying to go back.</p>
  
  <p>I am assuming i could add some code in my Java to tell it when to change layouts. I have read a bunch of posts already but am confused where in the code it would happen.</p>
  
  <p>I am trying to use some prepackaged code because I am new to Android. The link below is the Java code for the menu screen in particular i need to change layouts for. thanks so much!!</p>
  
  <p><a href="http://dl.dropbox.com/u/39276137/menuSimpleAdvanced.txt" rel="nofollow">menu Java</a></p>