Closed Abdelsattar closed 6 years ago
so how to set right or left drawable ?
Hi @Abdelsattar,
You can do it programmatically, by calling myButton.setIconResource(drawable)
Please check the following link for all available attributes: https://github.com/medyo/Fancybuttons#supported-attributes
@medyo yeah i found that after a while but why not in the xml the same ? of how to make it from xml
It's also doable, please refer to the samples: https://github.com/medyo/Fancybuttons/blob/master/samples/src/main/res/layout/activity_xml_buttons.xml
how ican set fb_fontIconResource with a resource ? and why it is not accpet drawable ?