Activity Split Animation


Activity Split Animation is a class that you can use to create split Activity animation. Its usage is pretty simple. When calling an activity from another, use the below code on the activity you’re calling from

ActivitySplitAnimationUtil.startActivity(Activity1.this, new Intent(Activity1.this, Activity2.class));

and use the below code on the onCreate() of the activity being called


// Setting the Activity's layout

// Animation duration of 1 second
ActivitySplitAnimationUtil.animate(this, 1000);
Facebook Twitter Google Reddit LinkedIn

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *