Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

How to add FAB buttons programatically? #14

Closed
moradgholi opened this issue Apr 8, 2015 · 5 comments
Closed

How to add FAB buttons programatically? #14

moradgholi opened this issue Apr 8, 2015 · 5 comments

Comments

@moradgholi
Copy link

Hi,
I need to add or remove the FAB buttons programmatically, so I've added the menu in the XML file and then i tried to add the FloatingActionButtons programmatically with calling addView method on the menu.
The problem is that the menu does't show the new fab buttons because the children have created on onMeasure. I tried to call the requestLayout() method on the menu but nothing changed.
How can i handle it ?

@Clans
Copy link
Owner

Clans commented Apr 9, 2015

I'll add that in the next release.

@Frykky
Copy link

Frykky commented Apr 16, 2015

Have you added in 1.4.0?

@Clans
Copy link
Owner

Clans commented Apr 16, 2015

Not yet, it was mostly bug fix release.

@pawelByszewski
Copy link

+1 that is big problem also for me

@Frykky
Copy link

Frykky commented May 8, 2015

CircularFloatingButton of oguzbilgener do it if you want... but your library is better 💃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants