title: Change background colour of android dialog
body: <p>I have a Dialog that is constructed with AlertDialog.Builder, and I would like to change the backgroud color of the dialog.</p>
  
  <p>I've been reading in Internet that it's possible to do using ContextThemeWrapper (working with API 10), but it doesn't work.</p>
  
  <p>What I'm doing is:</p>
  
  <pre><code>ContextThemeWrapper wrapper = new ContextThemeWrapper(this, R.style.MyDialogTheme);
  AlertDialog alertDialog = new AlertDialog.Builder(wrapper)).create();  
  
  &lt;style name="MyDialogTheme" parent="@android:style/Theme.Dialog"&gt;
      &lt;item name="android:background"&gt;#FFFFFF&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Why does this not work?</p>
  
  <p>Thanks in advance!</p>