yankai-victor / Loading

Android loading view
1.23k stars 203 forks source link

Change color programmatically #6

Closed marianpavel closed 8 years ago

marianpavel commented 8 years ago

can the color be changed programmatically ?

btw, good job with the library, awesome job.

jamrader commented 8 years ago

I was wondering the same thing -- can it even be changed in xml? The property "loading_color" has no effect for me.

marianpavel commented 8 years ago

On me ​ it's working from XML, update the library to the last version and check again.​

On Feb 19, 2016 18:38, "jamrader" notifications@github.com wrote:

I was wondering the same thing -- can it even be changed in xml? The property "loading_color" has no effect for me.

— Reply to this email directly or view it on GitHub https://github.com/yankai-victor/Loading/issues/6#issuecomment-186291802 .

yankai-victor commented 8 years ago

Hi, I add some code to change the color programmatically. You can check it in last version :)

yankai-victor commented 8 years ago

I was wondering the same thing -- can it even be changed in xml? The property "loading_color" has no effect for me.

@jamrader As marinica94 said, please update the library to the last version.

marianpavel commented 8 years ago

Is the latest version available or you need to pull it ?

marianpavel commented 8 years ago

Nvm, I have solved it, I don't know why android studio started not to notificate me about library updates