leinardi / FloatingActionButtonSpeedDial

A Floating Action Button Speed Dial implementation for Android that follows the Material Design specification (https://material.io/components/buttons-floating-action-button#types-of-transitions)
Apache License 2.0
1.47k stars 142 forks source link

Add animation drawable (animated vector drawable) support #160

Closed S-H-Y-A closed 3 years ago

S-H-Y-A commented 3 years ago

First time contributor checklist

Contributor checklist


Description

If Animation Drawable is set, when changing the Fab toggle, it will be animated.

Fab's rotate angle must be set to 0 if animation drawable is set. The duration of animated drawable must be 200.

https://user-images.githubusercontent.com/74596628/111263157-bf5a0280-8668-11eb-9d45-b189c12353b3.mp4

leinardi commented 3 years ago

Hi @S-H-Y-A, thank you for your contribution. Could you please target master instead of the release branch? I'm updating the release branch only when a new release is out.

S-H-Y-A commented 3 years ago

Sorry, I fixed it.

S-H-Y-A commented 3 years ago

This feature solved #132.