Android动画师,动画的起始位置

时间:2016-10-19 09:15:43

标签: android animation animator

我使用动画师,我需要当前位置来开始动画。

ObjectAnimator animation = ObjectAnimator.ofFloat(button, "x",
                                         current position, 1);

我如何获得按钮的当前位置?

0 个答案:

没有答案