-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font icons colors are edited programmatically #17
Conversation
Editing font icons using setTextColor(int color)
Looks cool 👍 , however it'll be more interesting if you could also add a new method to change icon color. In case of someone needs different color than TextColor. Can you handle that ? |
for sure but will need more effort to handle the icons brought from resources (non font icons) will do it btw even if not fully implemented , can be added on development branch |
Just ignore Icons from resources, just focus on Font Icons. the variables to check are |
you mean checking those variables for resource icons ? Btw positioning will not make problems with icon color for the font icons I think |
I mean checking those variables just to know which type is used (from resource or font). Because applying color on a resource icon will not take any effect. You can follow that commit : 11c3290 to implement that new method setIconColor() |
If the icon's color is not set the default will be the text's color
@medyo review the changes now |
Looks cool 👍 Thanks for your contribution |
Added new method to define icon color
Editing font icons color using
setTextColor(int color)