Animation at the beginning of activity jumps

坚强是说给别人听的谎言 提交于 2019-12-03 12:15:28

Since there are no codes attached, I'm assuming you have some transition animation to the activity. If this is the case, it might cause the problem.Since there are two animations running simultaneously. Disable the transition and give it try.

startActivity(intent);
getActivity().overridePendingTransition(0, 0); 

It sounds like your draw loop UI thread is getting starved.

I'd use traceview to be sure that there aren't any methods blocking your draw calls. http://tools.android.com/tips/traceview

This should help you determine what's being invoked instead of the onDraw method.

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