在Android当中 设置activity的动画 需要复写 android:windowAnimationStyle这个属性
我们自定义一个动画样式来继承 @android:style/Animation(Base style for animations. This style specifies no animations)这个样式是Android操作系统提供的 没用动画的样式 我们定义其中的4个属性还设置我们想要的效果
android:activityOpenEnterAnimation 一个activity创建进入的效果
android:activityOpenExitAnimation 一个activity还没有finish()下退出效果, 比如有俩个activity A,B 首先启动A 然后再启动B 那么A还没有finish() 这A的退出效果
android:activityCloseEnterAnimation 表示上一个activity返回进入效果 比如有俩个activity A,B B退出后A进入的效果