I added support for custom animations of the FAB by passing a normal statelist and having two Animatables as states. The Dialer will recognize that the drawable is animatable and will run the animation.
In the default implementation this allows to replace the 10 PNGs with one vector drawable and a bunch of animations which is smaller, neater and better scalable.
Furthermore I prefixed all IDs in the resource files since an ID mismatch would occur if you would call your SpeedDialer "fab" and you would get casting errors.
I added support for custom animations of the FAB by passing a normal statelist and having two Animatables as states. The Dialer will recognize that the drawable is animatable and will run the animation. In the default implementation this allows to replace the 10 PNGs with one vector drawable and a bunch of animations which is smaller, neater and better scalable. Furthermore I prefixed all IDs in the resource files since an ID mismatch would occur if you would call your SpeedDialer "fab" and you would get casting errors.