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

Change Fab menu colors dynamically. #466

Description

@satutigroove

Hi,

My requirement is to change the fab menus and mini buttons background color and icons color dynamically, Please tell me is it possible to do the same?

I have used this code, but it's not working

floatingActionMenu.setBackgroundTintList(ColorStateList.valueOf(modifyThemeColour.getCompanyPrimaryColor()));
fab1.setBackgroundTintList(ColorStateList.valueOf(modifyThemeColour.getCompanyPrimaryColor()));
fab2.setBackgroundTintList(ColorStateList.valueOf(modifyThemeColour.getCompanyPrimaryColor()));

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions