ChadCSong / ShineButton

This is a UI lib for Android. Effects like shining.
MIT License
4.22k stars 544 forks source link

small issue #23

Open russeldelossantos09 opened 7 years ago

russeldelossantos09 commented 7 years ago

How to configure button effect? when i click the button, the effect will show the problem is after i click the button and click it again the effect on the button doesnt show up. I want is when i click it multiple times the effect will show every single click.

ChadCSong commented 7 years ago

The effect is provide for selection. So it just show up when the button is selected. If you are interest in the only effect, you can check my source code. Thanks.

hiteshchavda commented 6 years ago

You can also do the following...

set both app:btn_color and app:btn_fill_color same in xml.

and set onClickLisnter on button btn.setChecked(false). This reset the flag.

Hope this helps 👍