nambicompany / expandable-fab

A highly customizable 'speed dial' FloatingActionButton implementation.
https://nambicompany.github.io/expandable-fab/
MIT License
199 stars 20 forks source link

Change speed of showing up options #40

Closed jawegielewski closed 2 years ago

jawegielewski commented 2 years ago

Good job! I have a question. Is there a possibility to change speed of showing up options? What if I wanted to speed up the options showing up?

kabumere commented 2 years ago

Hey @jawegielewski,

This answer from a previous ticket should help you.

In addition to changing the speeds on the individual components from the above link, starting with v1.2.1 there are also global properties you can set on the ExpandableFabLayout. Setting the global properties will save you the trouble of having to set the animation duration of every single FabOption, Label, Overlay and ExpandableFab.

These new global properties can be seen here, along with their documentation.

All of the fields mentioned can be set from both XML and programmatically in your code. Let me know if you have any other questions, and thanks for your kind words!

kabumere commented 2 years ago

Hey @jawegielewski,

Did the above answer help you with changing the speed of the FabOptions and Labels?

jawegielewski commented 2 years ago

Hey to be honest I abandoned this idea of using your classes as I change my project's design a bit. But thank you anyway :)

kabumere commented 2 years ago

Hey @jawegielewski,

No problem. The widget doesn't work for every project, but I hope you consider using it again for a future one. Happy coding!