you can see the example here
first activity2nd activity:transition
Its a ViewPager you can check this out from android Doc
For refrence: https://developer.android.com/training/animation/screen-slide