title: Why isn't my EditText styled to match my AlertDialog?
body: <p>I am trying to create an <code>AlertDialog</code> with a single text field prompt. Here is the code I am using to create it:</p>
  
  <pre><code>final EditText url = new EditText(this);
  new AlertDialog.Builder(this, AlertDialog.THEME_DEVICE_DEFAULT_DARK)
    .setTitle(R.string.mirror_title)
    .setView(url)
    .setPositiveButton(...)
    .setNegativeButton(...)
    .show();
  </code></pre>
  
  <p>When I run that against API level 22, the buttons style using Material as expected, but the <code>EditText</code> does not:</p>
  
  <p><img src="https://i.stack.imgur.com/dgCWd.png" alt="Dialog with old-style text input"></p>
  
  <p>What do I need to do to get the new style <code>EditText</code> here?</p>