Open danksky opened 8 years ago
To see how the buttons are added to your xml layouts, check the sample project.
Menu icon didn't work for me in xml, so I ended up doing it in Java:
FloatingActionButton btn = view.findViewById(R.id.buttonID);
btn.setIcon(R.drawable.myimage);
I also downloaded the library to use in my project locally, not sure if that makes a difference.
How can I add an icon to the menu subitem?