Animation causes AsyncTask HttpClient task to be super slow
<p>I have a network task defined inside of an AsyncTask that takes approximately 2-3 seconds to complete.</p>

<p>When I add the animation code below:</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="0"
    android:toDegrees="360"
    android:pivotX="50%"
    android:pivotY="50%"
    android:repeatCount="infinite"
    android:duration="60"
    android:interpolator="@android:anim/linear_interpolator" /&gt;
</code></pre>

<p>and then in my activity execute it as follows:</p>

<pre><code>progressImageView = (ImageView) getWindow().findViewById(
            R.id.progressImageView);
progressAnimation = AnimationUtils.loadAnimation(this, R.anim.progress);
progressImageView.startAnimation(progressAnimation);
</code></pre>

<p>The network call takes approximately 12-13 seconds to complete. Am I doing something incredibly wrong here?</p>
