title: Change the style of AlertDialog
body: <p>When I run this code the alert dialog is shown but there is one white border around the dialog and also the borders are little round. I do not want this white border and I want to have real corners with angle of 90. I hope you understand what I am trying to do.</p>
  
  <pre><code>        AlertDialog.Builder ad = new AlertDialog.Builder(this);
          Button bbb=new Button(MvcnContactList.this);
          ad.setView(bbb);
          alertDialog = ad.create();
          alertDialog.show();
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/SHkRI.png" alt="enter image description here"></p>
  
  <p>Is there any way to style the alert dialog but not the text color or text size or something similar... I want to style the borders of the alert dialog, so setting just a theme maybe it is solution to this problem. But I do not know what properties to override.</p>
  
  <p>Thanks,</p>
  
  <p>EDIT:
  For example this style override the textColor to 00FF00 , and that is cool, but which property should I override to make the corners not round and tho remove that white boreder</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;style name="AlertDialogCustom" parent="@android:style/AlertDialog"&gt;
          &lt;item name="android:textColor"&gt;#00FF00&lt;/item&gt;
          &lt;item name="android:typeface"&gt;monospace&lt;/item&gt;
          &lt;item name="android:textSize"&gt;10sp&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>