nambicompany / expandable-fab

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

Show method does not work #4

Closed hannzern closed 4 years ago

hannzern commented 4 years ago

I am trying to programmatically toggle the show() and hide() methods but does not work unfortunately... The setEfabColor does work tho

kabumere commented 4 years ago

Hey @hannzern,

I see you closed this ticket. Did you solve the issue you were having?

hannzern commented 4 years ago

Yes I did, realized show() and hide() was actually just hiding and showing the ExpandableFab. Btw, is there a way to configure where the fabOptions animates to? For example for vertical, to expand toward the top direction (currently), and also a way to expand towards the bottom direction?

kabumere commented 4 years ago

@hannzern I believe you're looking for fabOptionPosition.

By default it's set to FabOptionPosition.ABOVE, but if you want the FabOptions to animate downwards, you can set it to FabOptionPosition.BELOW (you can set this via XML too).