Customizable Activity Animation in Java Code
I want to use my own animation when switching activity, I know it can be done in xml. But it is important that the code executes it because the position in which it should be animated is relative.
overridePendingTransition(slideLeft, slideRight);
slideLeft and slideRight are animation defined in code. is there any way to assign a resId to animation defined in code? Thanks to
+3
source to share