medyo / Fancybuttons

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

FontIconColor can not be set differently! #63

Closed ahmetcj4 closed 8 years ago

ahmetcj4 commented 8 years ago

Although fontIcon size can be set independent of the text size, I couldn't manage change the color of the fontIcon

medyo commented 8 years ago

Hi @ahmetcj4,

you could change icon size by calling fancy:fb_fontIconSize or setFontIconSize(int)

ahmetcj4 commented 8 years ago

Is it possible to set different colors for FontIcon and IconText?

medyo commented 8 years ago

@ahmetcj4 please check supported-attributs to know library abilities https://github.com/medyo/Fancybuttons#supported-attributs

The current version doesn't support different colors for text and icon, however you achieve that by using these getters https://github.com/medyo/Fancybuttons#supported-getters

ahmetcj4 commented 8 years ago

now I can change colors, thank you !

ajithkpistar commented 7 years ago

fancy_button.getIconFontObject().setTextColor(getResources().getColor(R.color.colorAccent));