我使用ObjectAnimator来更改视图scaleX和scaleY。 `
AnimatorSet animatorSet = new AnimatorSet();
ObjectAnimator scaleX = ObjectAnimator.ofFloat(recyclerView, "scaleX", 0.5f);
ObjectAnimator scaleY = ObjectAnimator.ofFloat(recyclerView, "scaleY", 0.5f);
animatorSet.setDuration(50);
animatorSet.setInterpolator(new LinearInterpolator());
animatorSet.play(scaleX).with(scaleY);
animatorSet.start();
` 当比例改变结束时,视图的宽度和高度不会改变。所以我的问题来了,在布局中,比例视图变化很小只有一半,但宽度没有变化,我怎么能用比例改变一下呢?