title: How to stop Progress Bar Animation in Android?
body: <p>I would like to stop the circling inside the Progress Bar that is shown. Please tell me necessary settings to be applied either in the xml file or any methods in the code that can be used to stop this animation.
  Also I have created a Progress Bar in my UI.
  <a href="http://i.stack.imgur.com/5OmNm.png" rel="nofollow">The Progress bar is black in color and the animation represents the progress that  I would like to stop</a></p>
  
  <pre><code>&lt;ProgressBar
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/progressBar"
      android:layout_centerVertical="true"
      android:layout_centerHorizontal="true"
      android:background="@android:color/background_light"
      android:minWidth="300dp"
      android:maxWidth="300dp"
         /&gt;
  </code></pre>