Skip to content

Setting text color programmatically doesn't change icon color #16

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

Closed
abdelrahman-elkady opened this issue Apr 11, 2015 · 2 comments
Closed
Labels

Comments

@abdelrahman-elkady
Copy link
Contributor

using setTextColor changes only the text color without the icon's color , however setting it in the xml changes both

steps to reproduce :

  1. create a button in xml with a font icon
  2. find and grab the button in an activity
  3. call setTextColor(int color) on the button

The button will change only the text color and the icon color will remain as given in the xml

@medyo medyo assigned medyo and unassigned medyo Apr 11, 2015
@medyo
Copy link
Owner

medyo commented Apr 13, 2015

I think with your new pushed code, it's partially fixed
setTextColor will change text color and setIconColor will change icon color

@abdelrahman-elkady
Copy link
Contributor Author

yes this should be closed as it's fixed on master in #17 👍

@medyo medyo closed this as completed Apr 13, 2015
@medyo medyo added the bug label Apr 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants