title: Changing the transparent background behind Dialog
body: <p>How can I change the color of the semi-transparent background that is shown behind a Dialog.
  The default is black and I want to make it white (with the same alpha like the default)</p>
  
  <p>This is the theme I'm using for my custom dialog:</p>
  
  <p><b>another question</b> - how can I make the dialog to fill the screen width (with 20dp margin on each side)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;style name="CustomDialogTheme" parent="android:Theme.Dialog"&gt;
          &lt;item name="android:layout_width"&gt;fill_parent&lt;/item&gt;
          &lt;item name="android:layout_height"&gt;fill_parent&lt;/item&gt;
          &lt;item name="android:padding"&gt;30dp&lt;/item&gt;
          &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
          &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
          &lt;item name="android:background"&gt;@color/white&lt;/item&gt;
     &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>