android - Edit colors xml values on runtime -


i have seen similar questions here. know cant edit packaged *.apk files, cannot edit res/values/colors.xml. however, can design in way can change colors (one shot) entire application code or referring colors.xml sd card. example have colors.xml,

<resources>     <color name="tableborder">#ff000000</color> </resources> 

on runtime want tableborder color local database (or server) , apply ever tableborder referred, expected color applies.

any way accomplish above ?

instead of assigning colors in xml file store in sharedpreference files. can change values runtime whatever server.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -