Hi all!
Working on my rom (JB XXELLC), and got and idea I just want to have some guidence with. Kinda a new to android (about 1 month), but picked up quite a lot allready, and done some simple smali / xml modding.
So, the idea is, to simply add an option in SecSettings with clockcolor, like the inkeffect setting (easy part).
The line in SystemUI xml files is also under control (like the color is basic xml code, like #blablabla)
Now, the thing I need a little guidence with is. When I have my colorvalue in secsettings, how do I get that value into the clock-color-value in the xml file?
The way I think is that choosen color is stoered in some adress (not known yet), say 0x111111 for now. And in the XML file (or some smali?), insted of a #fffffff color the color will be picked up from 0x1111111 ..
Am I thinking right? I'm not requesting a complete mod, or anything like that, just wanted to hear with you more skilled guys if I'm thinking right. Chose the correct method will cut down my dev time, a lot..
Of course It will be tricky, but that's a bit of the charm.
And sorry for bad english.. working on it :silly:
Working on my rom (JB XXELLC), and got and idea I just want to have some guidence with. Kinda a new to android (about 1 month), but picked up quite a lot allready, and done some simple smali / xml modding.
So, the idea is, to simply add an option in SecSettings with clockcolor, like the inkeffect setting (easy part).
The line in SystemUI xml files is also under control (like the color is basic xml code, like #blablabla)
Now, the thing I need a little guidence with is. When I have my colorvalue in secsettings, how do I get that value into the clock-color-value in the xml file?
The way I think is that choosen color is stoered in some adress (not known yet), say 0x111111 for now. And in the XML file (or some smali?), insted of a #fffffff color the color will be picked up from 0x1111111 ..
Am I thinking right? I'm not requesting a complete mod, or anything like that, just wanted to hear with you more skilled guys if I'm thinking right. Chose the correct method will cut down my dev time, a lot..
And sorry for bad english.. working on it :silly:
Last edited: