animateWidthAndHeight

fun View.animateWidthAndHeight(targetWidth: Int, targetHeight: Int, duration: Long = 400, action: (Float) -> Unit? = null)