Android View Animation between activity transition

落花浮王杯 提交于 2019-12-22 13:59:06

问题


How can i keep an animation alive while the transitions between activities are occurring?

Suppose that i have two activities A and B. Activity B has a "slide in" transition over the activity A. I want to keep a button rotating in my activity A while the transition of B is occurring. My button stop the rotating animation when the Activity B starts the slide over the activity A. I guess it happens because the android switch the UI Thread process to the new activity that is coming and stop what the previous activity was doing, but in my case the user still can see the activity A being covered by the activity B.

来源:https://stackoverflow.com/questions/42080009/android-view-animation-between-activity-transition

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!