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

Adding support for individual miniFab drawable tinting #88

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alanjcaceres
Copy link
Contributor

Same set up as customizing the miniFab background.
Set up an array resource of colors and add app:miniFabDrawableTintList to the FabSpeedDial XML

Note: This will only work on api 21+(Lollipop or later)

Example:

<integer-array name="fab_menu_item_drawable_colors" >
        <item>@color/holo_green_light</item>
        <item>@color/holo_orange_dark</item>
        <item>@color/holo_purple</item>
</integer-array>
<io.github.yavski.fabspeeddial.FabSpeedDial
    ...
    app:miniFabDrawableTintList="@array/fab_menu_item_drawable_colors" />

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

Successfully merging this pull request may close these issues.

None yet

1 participant