I use ObjectAnimator to scale down a RelativeLayout :
ObjectAnimator scaleDownX = ObjectAnimator.ofFloat(view, \"scaleX\", 0.5f);
Obj
As stated in the comments, the approach for creating an ObjectAnimator is to use the View's static Property object instead of passing the string since using the string value involves reflection for the setter and optionally for the getter in order to derive the starting value of the attribute. This is available from API 14
ObjectAnimator scaleDownX = ObjectAnimator.ofFloat(view, View.SCALE_X, 0.5f);
ObjectAnimator scaleDownY = ObjectAnimator.ofFloat(view, View.SCALE_Y, 0.5f);
A complete explanation can be found in DevBytes: Property Animations video by Google's engineer Chet Haase