title: Cannot disable default activity animation
body: <p>I have been trying to replace the default activity transition animation but without any success. </p>
  
  <p>Ihave defined my own entry and exit animations and in the callback where the new activity is launched I have the following code: </p>
  
  <pre><code>public void goFetchCallback(View view)
  {
      Intent intent = new Intent(this, RecipiesActivity.class);
      intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
      startActivity(intent);
      overridePendingTransition(R.anim.entryanim,R.anim.exitanim);
  }
  </code></pre>
  
  <p>Unofrtunately this does not do the work and I do not know why. </p>
  
  <p>I am running this on a Motorola Xoom with ICS. </p>
  
  <p>I have also tried to disable the default animation by using a custom style as below: </p>
  
  <pre><code>    &lt;style name="AppTheme" parent="@android:style/Theme.Holo"&gt;
      &lt;item name="android:windowAnimationStyle"&gt;@null&lt;/item&gt;      
  &lt;/style&gt;
  </code></pre>
  
  <p>and assigning this to the applicatioin in Manifest.xml but again without any success. </p>
  
  <p>Can somebody help?</p>
  
  <p>Thanks</p>