Android Question Disable Activities Transitions

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Hi all,

is there any easy way to disable the animation transition effect when commuting between activities? I tested to change the animation duration parameter in designer but I still have a zoom in/ zoom out between the activities. It looks that it's something related to the Android System because the effect depends on the device / version, but it's always there.

Any suggestion?
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Try this:
1. Follow these instructions: https://www.b4x.com/android/forum/threads/custom-transitions-between-activities.15065/
2. Pass 0 and 0 instead of in and the out parameters.
Hi @Erel ,

I tested and this is what is happening:
- Imagine that you have Activities 1 and 2...
- First time... 1 starts... ok... then, I call startactivity(2) ... works very well, the activity 2 screen is instantaneously showed over activity 1. Some elements those are intentionally drawn in the same position in 1 doesn't flick, as desired... all fine and great!
- Then, I call startactivity(1) (with animation code, of course) from 2... the animation is there again, even from 1 to 2 (the same code that worked in first time!!!)

Any suggestion?
 
Upvote 0

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Last edited:
Upvote 0
Top