Jump to content


Photo

Change statusbar clock text color

- - - - -

  • Please log in to reply
No replies to this topic

#1
Gary Crutcher

Gary Crutcher

    Developer/Integrator

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Devices:Omnia II / Galaxy S III
I do not know how many of you know how to do this, but I found a way to change the text color of the statusbar clock.

I could not find anything posted anywhere about this after 2 days of searching.

Make a backup of your framework-res.apk BEFORE modding it. This is important.

It's basically a color change in the framework-res.apk file in /system/framework folder.

If you use APK Tool to decompile your framework-res.apk, the change is very easy.

Once you have decompiled your framework-res.apk, go to the res/values folder and open colors.xml in notepad.

Near the bottom is an entry that looks like this:

<color name="status_bar_clock_text">#ffbebebe</color>

change the color value (#ffbebebe) to some other color. For example, I changed mine to
<color name="status_bar_clock_text">#ff3299cc</color>, which is sky blue.

Once you have chnaged the color, save the file, exit notepad.
Using APK Tool, compile the framework-res.apk you just modified.

Make sure you copy, from the original framework-res.apk, the following ("META-INF" folder and the "AndroidManifest.xml")
to the new framework-res.apk file. You can use winrar to open it.

Open the original framework-res.apk and the new framework-res.apk files. You should have 2 open windows.

Now you should have 2 winrar windows open, just drag the "META-INF" folder and the "AndroidManifest.xml" file from the original framework-res.apk, to the modded one. Make sure you select 'None" for compression method when prompted.


Close both windows and copy the modded framework-res.apk to /system/framework.

EDIT: Also works for XXKH1 / XXKH3


Here is what mine looks like after the mod.


Attached File  SC20110814-173815.png   375.49KB   45 downloads


If you have any comments or suggestions, please let me know.

As far as color codes in hexadecimal, you will have to look them up on the internet. Here is where I got mine:
http://www.december....pec/color3.html


Edited by Gary Crutcher, 20 August 2011 - 12:08 PM.

  • 0

Omnia I900 (Khuanchai custom ROM 21928/23016)
Omnia II (My Own JH2/23689 Lite Custom Rom)
Galaxy S III 16 GB (ZSEMI1 ROM, Siyah-s3-v1.9 kernel)

Note 3 (N900, Rooted, Unlocked, KitKat)
Galaxy Note 10.1 (2014) (Rooted, my own custom KitKat ROM)
-----------------------------------------------------------
If you like my work, Donations Happily Accepted.
>>>Donation Link<<<





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users