如何像在 Instagram 中那样在活动之间滑动

How to swipe between activities like in Instagram

你可以在这里看到例子

first activity2nd activity:transition

它是一个 ViewPager,您可以从 android 文档

中查看

供参考: https://developer.android.com/training/animation/screen-slide