title: How to change ProgressDialog Spinner color in Android?
body: <p>I am trying to add a customized <code>ProgressDialog</code> to my <code>Activity</code>. I successfully changed the <code>ProgressDialog</code> font and the background colors, but I don't know how to change the spinner color without using a widget. Can anyone help me?</p>
  
  <p>This is my <code>Activity</code> code:</p>
  
  <pre><code> myPd_bar=new ProgressDialog(Ratings.this,R.style.Theme_MyDialog);
   myPd_bar.setMessage("Loading....");
   myPd_bar.setTitle(null);
   myPd_bar.show();
  </code></pre>
  
  <p>This is my <code>styles.xml</code> code:</p>
  
  <pre><code>&lt;style name="Theme.MyDialog" parent="@android:style/Theme.Dialog"&gt;
      &lt;item name="android:textColor"&gt;#daac56&lt;/item&gt;
      &lt;item name="android:background"&gt;#160203&lt;/item&gt;
      &lt;item name="android:windowFrame"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>And this is the current output:</p>
  
  <p><img src="https://i.stack.imgur.com/WdkRr.png" alt="enter image description here"></p>