What is the difference between windowMinWidthMajor and android:windowMinWidthMajor : <p>I want to set up a proper style for my ProgressDialog.
I like the default one but I want to customize it. I've tried to use AppCompat dialogs but they all setup some <strong>weird width and height for my Dialog.</strong></p>

<p>I found that extending from MaterialDialog do the trick, so this code works:</p>

<pre><code>&lt;style name="ProgressDialogTheme" parent="MaterialBaseTheme.AlertDialog" &gt;
&lt;/style&gt;
</code></pre>

<p>This is because MeterialDialog itself setup custom width</p>

<pre><code>&lt;style name="MaterialBaseTheme.AlertDialog" parent="MaterialBaseTheme.Dialog"&gt;
        &lt;item name="android:windowMinWidthMajor"&gt;@android:dimen/dialog_min_width_major&lt;/item&gt;
        &lt;item name="android:windowMinWidthMinor"&gt;@android:dimen/dialog_min_width_minor&lt;/item&gt;
    &lt;/style&gt;
</code></pre>

<p>And I found that there is AppCompat dialog that set up the same custom width, here it is:</p>

<pre><code>&lt;style name="Base.Theme.AppCompat.Light.Dialog.Alert"&gt;
        &lt;item name="windowMinWidthMajor"&gt;@dimen/abc_dialog_min_width_major&lt;/item&gt;
        &lt;item name="windowMinWidthMinor"&gt;@dimen/abc_dialog_min_width_minor&lt;/item&gt;
    &lt;/style&gt;
</code></pre>

<p><strong>but it do not work</strong></p>

<p>The only difference is a <strong>andorid namespace</strong> at the beginning of MeterialDialog attribute. </p>

<p>Can someone explain why <code>android:windowMinWidthMajor</code>
do the trick?</p>
