vendredi 18 décembre 2015

Change CheckBox checked with animation

If the user clicks on a CheckBox, it runs a very nice animation (on Lollipop).

However if i invoke myCheckBox.toggle() programatically, it does not run the animation, but immediately shows the new state. Is there a way to run the smooth animation when changing the checked state programatically?




Aucun commentaire:

Enregistrer un commentaire