Changing dynamically a text color in a widget
Posted: 23 Apr 2017 01:00
Hello,
Having a "widget" (AutoMagic shortcut) that shows for example phone temperature (Text_1) my question is:
Is there a way to change programatically the color of the temperature text, from white (OK) to yellow (getting hot) and red (way too hot)?
I had contemplated the idea of three different texts in the "widget", one for each situation but my goal would be to change always the same "Text_1" instead of using three "Text_1, 2 and 3".
Thank You
Husky
Having a "widget" (AutoMagic shortcut) that shows for example phone temperature (Text_1) my question is:
Is there a way to change programatically the color of the temperature text, from white (OK) to yellow (getting hot) and red (way too hot)?
I had contemplated the idea of three different texts in the "widget", one for each situation but my goal would be to change always the same "Text_1" instead of using three "Text_1, 2 and 3".
Thank You
Husky