我需要知道在 android 中是否可以使用事务样式,例如,如果我启动主要 Activity ,我需要去或切换到第二个 Activity ,我需要一些动画,如弹出窗口、弹出窗口等,用于下一个 Activity View 。是否可行?
最佳答案
使用 Intend
进行另一项 Activity 。
Intent intent = new Intent(SourceActivity.this, TagetActivity.class);
startActivity(intent);
进一步了解 Intent :
http://www.castlerockresearch.in/dev/2010/08/understanding-intents-and-intent-filters-in-android/
弹出动画见此链接:
http://android-codes-examples.blogspot.com/2011/04/animated-customized-popup-transparent.html
关于android Activity 交易风格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5879669/