medyo / Fancybuttons

Icons, Borders, Radius ... for Android buttons
1.77k stars 397 forks source link

Dynamically setting the icon and text #65

Closed ajithkpistar closed 8 years ago

ajithkpistar commented 8 years ago

i cannot able to set icon and text dynamically/programaticlly

medyo commented 8 years ago

setIconResource(String) to set an icon and setText() to define a text. For more details please refer to : https://github.com/medyo/Fancybuttons#supported-attributs