ybq / Android-SpinKit

Android loading animations
https://ybq.github.io/Android-SpinKit
MIT License
8.62k stars 1.31k forks source link

SpinKit_Color problem #24

Open FunnyDevs opened 8 years ago

FunnyDevs commented 8 years ago

I have to set SpinKit_Color only by xml file, but it doesn't work for all progressdrawable. In particular, i have seen the problem in "setIndeterminateDrawable" method, where

if(this.mSprite.getColor() == 0) {
            this.mSprite.setColor(this.mColor);
        }

and so, for some drawable, the color doesn't change