title: XML animation working only once
body: <p>I tring to create an animation to my activity.</p>
  
  <p>The animation working as it need to but it working only once.</p>
  
  <pre><code>Intent i = new Intent(a, UserDataActivity.class);
  i.putExtra("userData", t);
  a.startActivity(i);
  a.overridePendingTransition(R.anim.spin_anim, R.anim.static_anim);
  </code></pre>
  
  <p>I starting the activity from other thread if it's matters.</p>
  
  <p>a is a pointer to the main activity.</p>
  
  <p>I know that the <code>overridePendingTransition</code> is working when calling the <code>startActivity</code> and the <code>finish</code> methods because of that I don't need to kill the calling acticity.</p>