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
Cannot set typeface to floatingActionButton view #59
Comments
There is a PR with |
Did u add the setDrawable method for FAB yet?. I am using the version 1.6.0 but still haven't been able to use the iconfontdrawable implementations. |
You should be able to use |
Yea, but that still will use the icon image from drawable's folder. What i usually do is, set any icon a font-awesome string value. and then setTypeface in the activity to get the fontAwesome icon. Isnt this possible with fab as well? |
I think you're referring to: public void setIcon(@DrawableRes int icon) but there's also public void setIconDrawable(@NonNull Drawable iconDrawable) There are multiple libraries that allow creating Drawable from font. If you want |
Alright. Thanks. |
Unable to set typeface to floatingActionButton view. I am trying to use fontawesome icons for each floatingActionButton. For now, i am using app:fab_icon to set the icon from the drawables folder. But, would like use fontAwesome Icons. Please show me a way.
The text was updated successfully, but these errors were encountered: