I am trying to use font awesome icons for floating Action Button. I am not able to implement below solution . https://github.com/futuresimple/android-floating-action-button/issues/59
You should be using official Font Awesome Library,
https://github.com/bperin/FontAwesomeAndroid
there is DrawableAwesome in FontAwesome Library, that you need to construct it by using
DrawableAwesome drable = new DrawableAwesome.DrawableAwesomeBuilder(Context context, int icon).build();
and set in your FAB.
int icon
is id of String resource You can also customize rendering options like Shadow, Bold etc, Just check DrawableAwesome
Another library is available, In case anyone wants to check. https://github.com/JoanZapata/android-iconify
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With