阅读背景:

确定ObjectAnimator的translationX/Y值;如何将视图移动到精确的屏幕位置?

来源:互联网 

I'm trying to move a view to the upper right corner of the screen, using ObjectAnimator.ofFloat(...) But, I'm not getting the results I expect. I'm getting the coordinates of the view beforehand, using ViewTreeListener, etc, and I already know the x value I need to offset from the end of the overall width. I can't get either dimension to move to where I want it. Relevant code:I'm trying to move a view to the upper right co




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: