title: Android AlertDialog can't rotate
body: <p>I have an <code>activity</code> and it creates and shows <code>dialog</code> in <code>onCreate</code>.
  The <code>dialog</code> is made by <code>AlertDialog.Builder</code>.
  It shows properly except when I rotate the screen, the <code>dialog</code> does not rotate....</p>
  
  <p>How to solve it, thx?</p>
  
  <p><strong>Manifest</strong>  </p>
  
  <pre><code>&lt;activity android:excludeFromRecents="true" android:name="com.xxx.yyy" android:process=":core" android:theme="@android:style/Theme.Translucent.NoTitleBar"&gt; &lt;/activity&gt;
  </code></pre>
  
  <p><strong>Activity</strong></p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
  
          AlertDialog.Builder builder = new AlertDialog.Builder(this);
          dialog = builder.create();
          dialog.show();
  </code></pre>
  
  <p>}</p>