title: How to Build AppCompatDialog From AlertDialog.Builder or Equivalent?
body: <p>Before this I used a <code>DialogBuilder</code> to create <code>AlertDialog</code> like this</p>
  
  <pre><code>AlertDialog.Builder builder = new AlertDialog.Builder(context);
  ...
  ...
  AlertDialog dialog = builder.create();
  </code></pre>
  
  <p>How can I build the new <code>AppCompatDialog</code> from a dialog builder, or is there another new equivalent way to do that?</p>