Originally Posted by mrminor13
Thanks juba. I didn't want to clog up the thread with my ignorance. I would really like to learn though. I tried doing some research on my own last night on the Settings.java file. But not sure what in looking at.
If you could please point me in the right direction to start learning it would be much appreciated. I understand that I could really needs things up if I do the wrong thing. And don't want to do that. However, I'm a pretty competent person and want to learn.
Thank you for all the work you have done for our perfect ROM!
Sent from my Nexus 5 using xda app-developers app
The settings.java file lists all possible system settings.
Say I wanted to make a shortcut to turn my status bar clock a different color.
I'd search the file for something that looks like a match...
Like Ctrl+f > "clock"
Oh, look. "statusbar_clock_color"
That sounds right.
Add to chamber.
Checkbox? No...that isn't a checkbox setting.
Here's where it gets tricky.
Check boxes and colors...simple.
Colors: input like it tells you to in the dialog.
-2 means default for us...so you could do red,#ff00aacc,-2
For example...to switch between those three values.
As you can see...the top bunch is for what looks like led timeout settings...
So if I wanted to change those...
I'd find the setting in settings.java...
Input desired values. Such as 0,2500
Which matches to always on and long.