Cancel ALL Animation On SingleInstance
I am wondering if its at all possible to cancel ALL animation when starting an singleInstance activity, i am already using @Override public void onStop() { super.onStop();
Solution 1:
Have you tried calling overridePendingTransition
after calling startActivity(...)
You can also disable animations via themes
Developer should create a style,
<style name="noAnimTheme" parent="android:Theme">
<item name="android:windowAnimationStyle">@null</item>
</style>
then in manifest set it as theme for activity or whole application.
<activity android:name=".ui.ArticlesActivity" android:theme="@style/noAnimTheme">
</activity>
You can also specify a style to specify custom entry and exit animations, so you can make it do what you like as well http://developer.android.com/reference/android/R.attr.html#windowEnterAnimation
Post a Comment for "Cancel ALL Animation On SingleInstance"