Android details: the default switch effect of the disabled activity system, androidactivity
There are many ways to disable the default effect of the system on the Internet. Here is the simplest method I think.
OverridePendingTransition (Animation. INFINITE, Animation. INFINITE );
This sentence is generally used to replace our own custom activity effect.
Use infinity in the Animation class.
The abrupt switch effect of the system is invisible.
Now, let's start playing happily.
Switching between two android activity types has a flying effect. How can this effect be removed?
The animation between two activity switches can be customized. You only need to add overridePendingTransition (enterAnim, exitAnim) to the activity and then OK. enterAnim is the animation added to the current activity, exitAnim is output. The page's flying effect cannot be removed. This is the default effect of the system. If you want to achieve the effect without animation, you can only use addView and removeView in another global layout.
Switching between android development activities
Yes. The Animation effect parameter can help you. As mentioned in the document, I have not carefully read the specific method. I only know this method.