intent animation right slide code example
Example: how to animate screen left right on click android
//For Left to Right Animation
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
//from Xaxis Left to Xaxis origin
android:fromXDelta="-100%" android:toXDelta="0%"
//no change on Yaxis
android:fromYDelta="0%" android:toYDelta="0%"
//total animation duration
android:duration="700"/>
</set>