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

How make different BackgroundTint for mini fab of menu items #20

Closed
SvyatoslavLynda opened this issue May 4, 2016 · 3 comments
Closed

Comments

@SvyatoslavLynda
Copy link

I need method for get Child MiniFab Items for set their backgroundTint, It's possible make this methods in new version?

@bottle-rocket-11
Copy link

This would be nice, anyone find a way to do this yet?

@fjbatresv
Copy link

Theorical this is possible if you read the doc...

On the XML add this:

app:miniFabBackgroundTint="@android:color/white"
app:miniFabDrawableTint="?attr/colorPrimaryDark"

@yavski
Copy link
Owner

yavski commented Oct 16, 2016

@SvyatoslavLynda, sorry for taking ages to respond. You can achieve that by using app:miniFabBackgroundTint to tint the background of all mini fabs as a group, or in v.1.0.5 you'll be able to use app:miniFabBackgroundTintList to specify individual colors for each of your mini fabs.

@yavski yavski closed this as completed Oct 16, 2016
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

4 participants