How to animate to wrap_content?
问题 Is it possible to animate using ValueAnimator to wrap_content ? this only seems to work with constant values. public static void valueAnimate(final View obj, int from, int to, Interpolator interpolator, long duration, long delay){ ValueAnimator anim = ValueAnimator.ofInt(from, to); anim.setInterpolator(interpolator == null ? DEFAULT_INTERPOLATOR : interpolator); anim.setDuration(duration); anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { @Override public void