title: Android: How to change the custom color on circular progress bar
body: <p>I cannot figure out how to change the default color of my circular progress bar.  I've tried changing the startColor and endcolor attributes under my gradient tag in the below xml file title circular_progress_view.xml, which is a florescent green color, but the default color of magenta is still showing up.  Please see both my layout xml file (main.xml) and circular_progress_view.xml file below</p>
  
  <p>main.xml
      </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:descendantFocusability="blocksDescendants"&gt;
  
      &lt;LinearLayout
          android:id="@+id/linlaHeaderProgress"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:gravity="center"
          android:orientation="vertical"
          android:visibility="gone" &gt;
  
          &lt;ProgressBar
              android:indeterminate="true"
              style="?android:attr/progressBarStyleLarge"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:id="@+id/progressBar"
              android:progressDrawable="@drawable/circular_progress_view"&gt;
          &lt;/ProgressBar&gt;
      &lt;/LinearLayout&gt;
  
      &lt;ListView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:id="@+id/listview"
          android:layout_weight="1"&gt;
  
      &lt;/ListView&gt;
  
  
      &lt;Button
          android:id="@+id/btn"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="Submit"/&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>circular_progress_view.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;rotate xmlns:android="http://schemas.android.com/apk/res/android"
  
      android:fromDegrees="90"
      android:pivotX="50%"
      android:pivotY="50%"
      android:toDegrees="360"&gt;
  
      &lt;shape
          android:innerRadiusRatio="3"
          android:shape="ring"
          android:thicknessRatio="7.0"&gt;
  
          &lt;gradient
              android:angle="0"
              android:type="sweep"
              android:useLevel="false"
              android:startColor="#00FF00"
              android:endColor="#00FF00"/&gt;
  
      &lt;/shape&gt;
  
  
  
  &lt;/rotate&gt;
  </code></pre>