Hi, I tried to animate the scaleY using Animator API but I get the following error:
W/PropertyValuesHolder: Method set() with type float not found on target class class me.zhanghai.android.materialprogressbar.IndeterminateHorizontalProgressDrawable$RectTransformX
Hi, I tried to animate the scaleY using Animator API but I get the following error:
W/PropertyValuesHolder: Method set() with type float not found on target class class me.zhanghai.android.materialprogressbar.IndeterminateHorizontalProgressDrawable$RectTransformX
Code is:
PropertyValuesHolder scaleY = PropertyValuesHolder.ofFloat(View.SCALE_Y, from, to); ValueAnimator valueAnimator = ObjectAnimator.ofPropertyValuesHolder(progressBar, scaleY); valueAnimator.start();