slide_left_in.xml
slide_left_out.xml
xmlns:android=”http://schemas.android.com/apk/res/android”>
slide_right_in.xml
xmlns:android=”http://schemas.android.com/apk/res/android”>
slide_right_out.xml
xmlns:android=”http://schemas.android.com/apk/res/android”>
1. 在Style文件里面定义
true
@style/activityAnimation
@anim/slide_right_in
@anim/slide_left_out
@anim/slide_left_in
@anim/slide_right_out
2.在Manifest里面application设置Theme android:theme=”@style/AppTheme”
Share this: