Open connyduck opened 6 years ago
anyone know the solution?
yes, use another library
@connyduck Which one do you use?
I use my own fork https://github.com/connyduck/SparkButton
@connyduck bug your animation is different ?
override public void setShape(Drawable drawable) { shape = drawable; invalidate(); // add this code can refresh PorterImageView this.onSizeChanged(getMeasuredWidth(),getMeasuredHeight(),0,0); }
it works for me
I would like the ShineButton to have a different drawable when selected, e.g. heart outline and full heart, not only different color. Is there a way to achieve this with xml (if not, can you add one? :3) What is the recommended way to achieve this programmatically?