I have created 2 activity. In first avtivity has a button which if I click it start second activity. And I set in AndroidManifest.xml file android:parentActivityName=".MainActivity"
for second activity.Now on second activity has back button icon which if I click it will back to first activity. The problem is if I click it slides to the right side.How can I slide it to the left for open first activity?
Asked
Active
Viewed 33 times
0

Brutal
- 798
- 1
- 14
- 37
1 Answers
0
You have to create anim xml files for entry and exit animation and use overridePendingTransition to perform animation. See this link Android Left to Right slide animation

Sreedev P R
- 131
- 5