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

Method to allow icon to fill entire circle of fab #173

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

Conversation

tyler-gh
Copy link

@tyler-gh tyler-gh commented Apr 3, 2015

I'm implementing a design where I need to load profile images into the fab buttons. These images need to fill the FAB button. I thought I would share the simple edits needed to make that happen. Thanks for the great lib.

@yusufsaber
Copy link

I've been trying to do this myself for about an hour now with no luck. You're the man!!! Thanks 😃

@moworld
Copy link

moworld commented Dec 8, 2015

Had the same desired - to use the full FAB for icon - but your solution is all or nothing. I found that a simpler solution to the problem is to change the dp in dimens.xml:

<dimen name="fab_icon_size">24dp</dimen>

to something bigger, 48 worked for me.

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

3 participants