Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set main fab Image dynamically #77

Open
ksaittis opened this issue Nov 18, 2017 · 0 comments
Open

Unable to set main fab Image dynamically #77

ksaittis opened this issue Nov 18, 2017 · 0 comments

Comments

@ksaittis
Copy link

I would like to be able to change the main fab image dynamically according to what is currently selected from the menu. Currently the only methods provided by the FabSpeedDial type do not support to dynamically change the image of the main fab. The methods setBackground and setForeground do not meet the behaviour i expect from the main fab icon. I would like to be able to modify the main fab icon the same way the app:fabDrawable="@drawable/ic_list" attribute does. I was unable to do through the code thus i was unable to replicate the behaviour of .setImageResource method from the FloatingActionButton type

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

No branches or pull requests

1 participant