title: Android: Change custom AlertDialog background
body: <p>dialog layout xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
       android:id="@+id/root_view"
       android:padding="3dp"
       android:background="@android:color/white"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content" &gt;
  
       //...content...
  
   &lt;/TableLayout&gt;
  </code></pre>
  
  <p>dialog implementation in map overlay when tapped on pushpin:</p>
  
  <pre><code>AlertDialog.Builder builder;
  
  LayoutInflater inflater = (LayoutInflater) context.getSystemService(Service.LAYOUT_INFLATER_SERVICE);
  View layout = inflater.inflate(R.layout.map_kap_dialog,
                      (ViewGroup) mapView.findViewById(R.id.root_view));
  
  //prepare info to show...
  //info prepared
  
  //other preparations stuff
  builder = new AlertDialog.Builder(context);
  builder.setView(layout);
  dialog = builder.create();
  dialog.setInverseBackgroundForced(true);
  dialog.setCanceledOnTouchOutside(true);
  //show it
  dialog.show();
  </code></pre>
  
  <p>and what I see when test it:</p>
  
  <p><img src="https://i.stack.imgur.com/MX693.png" alt="enter image description here"></p>
  
  <p>So I want that light grey background around dialog box (around square white space) change to white, so it won't look that ugly. Can anyone help me?</p>