
为什么android逐帧动画没有效果
2个回答
展开全部
因为所有界面元素在加载中。
有个不确定的解决方法。
imageView.post( new runable(){ run(){ runOnUiThread( new runable(){run(){这里表达你的动画。}})} }
顺便说下,在onResume前,提取getLocationOfScreen(window)也是无效的,理由一样。
有个不确定的解决方法。
imageView.post( new runable(){ run(){ runOnUiThread( new runable(){run(){这里表达你的动画。}})} }
顺便说下,在onResume前,提取getLocationOfScreen(window)也是无效的,理由一样。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询