抱歉我的英语不好。 我有两个ObjectAnimations:
ObjectAnimator.ofFloat(viewScale, "scaleX", 1.0f, 100.0f).setDuration(1000),
ObjectAnimator.ofFloat(viewTranslation, "translationX", 1.0f, 100.0f).setDuration(1000)
viewScale和viewTranslation具有相同的大小,相同的父级大小。但是,缩放的viewScale距离与viewTranslation移动的距离不相等。 有人可以解释一下ofFloat()方法中的参数单位。找出解决方案我花了2天时间,但似乎我不能。