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

Conversation

@loukaspd
Copy link

fixes issues with FloatingActionButton.setLabelText and FloatingActionMenu.setMenuButtonlabelText (see related issue #274 ).

If FloatingActionButton was set in xml without the fab:fab_label attribute (fab:menu_fab_label for FloatingActionMenu respectively) the label was not created so it's text couldn't be changed later programmatically.

Fixed by adding the label and setting it's visibility to INVISIBLE.
Another check is added when calling FloatingActionMenu open - close methods to verify that the label should be shown.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant