public static ViewPropertyAnimator hideViewByScale (View v) {

        ViewPropertyAnimator propertyAnimator = v.animate().setStartDelay(DEFAULT_DELAY).setDuration(SHORT_DURATION)
          .scaleX(0).scaleY(0);

        return propertyAnimator;
    }
Reduces the X & Y

@param v the view to be scaled

@return the ViewPropertyAnimation to manage the animation
app/src/main/java/com/rozdoum/socialcomponents/utils/AnimationUtils.java