Set a general theme for progressDialog? <p>How can I set a theme for all progress bars that I create in my Project ?</p> <p>This is my style :</p> <pre><code>&lt;style name="MyTheme.ProgressDialog" parent="android:Theme.Holo.Light.Dialog.NoActionBar"&gt; &lt;item name="android:textColor"&gt;@android:color/anyColor&lt;/item&gt; &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt; &lt;/style&gt; </code></pre> <p>And I set it manually in the constructor of each progressDialog I create :</p> <pre><code>loadingDialog = new ProgressDialog(this, R.style.MyTheme_ProgressDialog); </code></pre> <p>Can I set the theme to be the default for all progress dialogs I create without changin it in the constructor each time ?</p>