title: My views are being reset on orientation change
body: <p>I have a small activity with an EditText and an imageview and a button. When you press the button it launches camera for result, and when it returns it changes the imageview to the picture you've just taken.</p>
  
  <p>But when the orientation changes, the imageview resets back to the default one on the layout.</p>
  
  <p>What I tried doing was setting a boolean called custom, and when you take a picture it sets it to true. I overrid onConfigurationChanged() and if custom is set to true I restore the image.</p>
  
  <p>My problem now is the EditText becomes erased -- How can I restore the EditText after configuration change? My first attempt was storing it's content into a String onPause() and then restoring it, but it always comes up blank.</p>