Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用动画师,我需要当前位置来开始动画。
ObjectAnimator animation = ObjectAnimator.ofFloat(button, "x", current position, 1);
如何获取按钮的当前位置?