zhanghai / MaterialProgressBar

Material Design ProgressBar with consistent appearance
Apache License 2.0
2.21k stars 279 forks source link

Doesn't support scaleY #79

Closed maciej-kaznowski closed 6 years ago

maciej-kaznowski commented 6 years ago

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();

maciej-kaznowski commented 6 years ago

Closing as it does support scaleY, just that I was triggering the animation code too often.