title: android: how to resize dialog
body: <p>I would like to create a dialog-style form which would fill the bigger screen area (left, right, top, bottom padding 10px).</p>
  
  <p>I defined the style "CupCakeDialog" the following way:</p>
  
  <pre><code>&lt;style name="CupcakeDialog" parent="android:Theme.Dialog"&gt;
      &lt;item name="android:windowAnimationStyle"&gt;@null&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>and by running the activity:</p>
  
  <pre><code>getWindow().requestFeature(Window.FEATURE_PROGRESS);
  getWindow().requestFeature(Window.FEATURE_NO_TITLE);
  
  setContentView(R.layout.ad_popup);
  </code></pre>
  
  <p>The dialog is displayed the following way:</p>
  
  <p><a href="http://img199.imageshack.us/img199/1299/popupstackoverflow.png" rel="nofollow noreferrer">alt text http://img199.imageshack.us/img199/1299/popupstackoverflow.png</a></p>
  
  <p>Does anyone know how to make the dialog bigger (extend height)?</p>
  
  <p>Thank you!</p>