I have been trying to replace the default activity transition animation but
without any success.
Ihave defined my own entry and exit animations and in the callback where
the new activity is launched I have the following 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);
}
Unofrtunately this does not do the work and I do not know why.
I am running this on a Motorola Xoom with ICS.
I have also tried to disable the default animation by using a custom style
as below:
<style name="AppTheme" parent="@android:style/Theme.Holo">
<item name="android:windowAnimationStyle">@null</item>
</style>
and assigning this to the applicatioin in Manifest.xml but again without
any success.
Can somebody help?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en