title: Dialog theme for AppCompat Activity with No title bar
body: <p>I need a dialog theme for an Activity and for <code>Fragments</code> pushed to it.Below is the style I applied to Activity</p>
  
  <pre><code> &lt;style name="DialogTheme" parent="Theme.AppCompat.Dialog"&gt;
          &lt;item name="colorPrimary"&gt;@color/ColorPrimary&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@android:color/transparent&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
          &lt;item name="android:textColorPrimaryInverse"&gt;@color/white&lt;/item&gt;
          &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
          &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
          &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
          &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>I have toolbar set as support action bar in activity.But it is showing an extra title bar with app name in it above toolbar.How to avoid this?Please help.</p>
  
  <p>I tried <code>requestWindowFeature(Window.FEATURE_NOTITLE)</code> ,but it has no effect.I tried to use <code>DialogFragment</code> and set           <code>getDialog().requestWindowFeature(Window.FEATURE_NO_TITLE);</code> which also has no effect.</p>