title: Animate .png image in widget
body: <h2>Problem Description</h2>
  <hr />
  <p>I am writing a <em><strong>simple Widget application</strong></em> for Android, In my Widget I Layout I have <code>ImageViewRefresh</code> control on which I have set Refresh Image Picture (Green Image Below).</p>
  <h2>Question</h2>
  <hr />
  <p>At some point I press on a <code>ImageViewRefresh</code> <em><strong>button in my Widget</strong></em> and application start to download some content from the Internet, while application downloading data in a background I want to make some animation, like rotate my image (Green Image Below). Can I do that ?</p>
  <h2>Researches</h2>
  <hr />
  <p>I have read some posts about Image animation, but I can find only animation of .gif pictures in application, is where a way to rotate image for example make some rotated images and change them or something else.</p>
  <h2>Code Example</h2>
  <p>Here is a part of code from my <code>layout</code> my image is not rotating. Why ? (my image is simple .png image)</p>
  <pre><code>&lt;ProgressBar
          android:id=&quot;@+id/progressBarRefresh&quot;
          android:layout_width=&quot;36dp&quot;
          android:indeterminateDrawable=&quot;@drawable/arrow_refresh&quot;
          android:layout_height=&quot;36dp&quot;
          android:layout_alignTop=&quot;@+id/imageViewArrowNext&quot;
          android:layout_marginRight=&quot;70dp&quot;
          android:layout_toLeftOf=&quot;@+id/textViewAutherName&quot;
          android:indeterminate=&quot;true&quot; /&gt;
  </code></pre>
  <p><em><strong>Image which I want to rotate.</strong></em></p>
  <p><img src="https://i.stack.imgur.com/rvKvi.png" alt="Rotate Image" /></p>