I get the field in this format:
"percent_home_color":"#65ff65"
I need to change the background color of the view , but setBackground wants an int .
Question: Is there a function for this or to write manually for transfer to the decimal system?
I get the field in this format:
"percent_home_color":"#65ff65"
I need to change the background color of the view , but setBackground wants an int .
Question: Is there a function for this or to write manually for transfer to the decimal system?
Source: https://ru.stackoverflow.com/questions/574107/
All Articles