It should be a pretty simple question that I cannot find through google or the docs for the life of me. How do I change the transition style of my activity?
From what I’ve heard, there are the grow, left/right and up/down transitions for presenting and dismissing activities, but I don’t have a clue how to implement them.
WHen you are doing:
just put:
animIn and animOut are ints that you can just define in anim resources folder for example:
slideInLeft.xml:
slideOutLeft.xml:
And when you want to return to the first activity you need to do the same but in finish method of activity: