问题
Long story short, how can I disable the screen transitions between activities? We implemented our own tab handler if you will, and now it is doing a transition between tabs, which looks pretty tacky. Thanks!
Chris.
回答1:
The Spare Parts app you find in the emulator, on self-built images and (i suppose) in the source tree let's you turn on/off those transitions(globally!). You may want to take a look at its source to get a clue how this works.
回答2:
See android.content.Intent.FLAG_ACTIVITY_NO_ANIMATION
回答3:
You should not be starting a whole new Activity for each tab. You should be embedding each Activity inside a android.app.ActivityGroup and use a android.app.LocalActivityManager.
来源:https://stackoverflow.com/questions/881195/android-disable-1-5-cupcake-animation-transitions