android-floating-action-button icon indicating copy to clipboard operation
android-floating-action-button copied to clipboard

How can I change FloatingActionsMenu to a custom icon

Open lawrenceching opened this issue 10 years ago • 13 comments

The icon "+" makes confusing. I wanna to use a custom icon instead of the original one. thx.

lawrenceching avatar Jul 17 '15 07:07 lawrenceching

Hi, I need to do this too, do you have any news about it? Thanks!

Forates avatar Jul 17 '15 14:07 Forates

i am also facing same problem

nischaysingla avatar Jul 22 '15 10:07 nischaysingla

I am also facing same issue please help..

jeetupal2806 avatar Aug 12 '15 11:08 jeetupal2806

fab:fab_icon="@drawable/ic_fab_star"

alexneo2003 avatar Sep 06 '15 14:09 alexneo2003

not working with AddFloatingButton

ppamorim avatar Sep 26 '15 22:09 ppamorim

Same Issue is there a fix?

jurian360 avatar Oct 16 '15 12:10 jurian360

:+1: for this issue, the code tells you to use a button instead of a menu when you want a custom icon. Will have to fork the code and implement this.

JonnoFTW avatar Nov 11 '15 03:11 JonnoFTW

I forked it and got Icons working for the menu.

https://github.com/boxlady/android-floating-action-button This works well for me.

boxlady avatar Nov 11 '15 08:11 boxlady

^^how dow we get your fix in gradle?

rgocal avatar Nov 12 '15 23:11 rgocal

I dont know how to do it from grandle but you can download it and add it as a model.

http://www.truiton.com/2015/02/android-studio-add-library-project/

boxlady avatar Nov 13 '15 11:11 boxlady

That was my next move, thanks a bunch for the fix

rgocal avatar Nov 13 '15 12:11 rgocal

@rgocal @boxlady you can use jitpack to include github projects into your app.

BTW: Your code works great, thanks :rocket:

mpscholten avatar Jan 04 '16 19:01 mpscholten

@boxlady i want to change FloatingActionsMenu menu icon If I click on FloatingActionButton , how finish it . i add setIconDrawable() function in FloatingActionsMenu to perform setIconDrawable() of FloatingActionButton, but i not work, menu icon not change !

hanklee9820 avatar Apr 03 '18 08:04 hanklee9820