Text Color Change (Complete how to do)

lmt1979

Member
Joined
Feb 18, 2010
Messages
80
Reaction score
0
Location
Greenville, NC
MusicGoogle.apk

I am going to add my notes to this post in hope it will help someone. These are xml changes I made for froyo to get white text in the status bars and widgets.

> MusicGoogle.apk
[res\layout\statusbar.xml]
44 - Replace with 41
45 - Replace with 42

Was able to get partial white text in MusicGoogle.apk here:
http://dc192.***********/img/336360353/efdb32a4/CAP201007081208.jpg?rnd=0.085674038608755&sizeM=3

Any help in getting this straight would be fantastic, been trying a bit editing, but some of the changes have had undesirable effects. IF* there is a good resource there's a few other apps I'd like to fix this in as well.
http://www.droidforums.net/forum/%3Ca%20href=http://www.***********/photo/jFaM1YyO/CAP201007081208.html%20target=_blank%3E[IMG]http://dc265.***********/img/336356925/26a5a18c/CAP201007081208.jpg?rnd=0.4970726012494887
 

928Droid

Premium Member
Premium Member
Theme Developer
Joined
Nov 24, 2009
Messages
3,742
Reaction score
0
Location
Western North Carolina Mountains
Website
www.928gt.com
I am going to add my notes to this post in hope it will help someone. These are xml changes I made for froyo to get white text in the status bars and widgets.

> MusicGoogle.apk
[res\layout\statusbar.xml]
44 - Replace with 41
45 - Replace with 42

Was able to get partial white text in MusicGoogle.apk here:


Any help in getting this straight would be fantastic, been trying a bit editing, but some of the changes have had undesirable effects. IF* there is a good resource there's a few other apps I'd like to fix this in as well.
http://www.droidforums.net/forum/%3Ca%20href=http://www.***********/photo/jFaM1YyO/CAP201007081208.html%20target=_blank%3E[IMG]http://dc265.***********/img/336356925/26a5a18c/CAP201007081208.jpg?rnd=0.4970726012494887

I have mine set to white for song name and light gray for album/artist title...

If you like that snag the statusbar.xml.zip below, remove the ".zip" and put it in the res/layout folder replacing the original.

11486d1278606648-text-color-change-complete-how-do-device2.png
 

ACalcutt

Member
Joined
Nov 27, 2009
Messages
209
Reaction score
0
I am going to add my notes to this post in hope it will help someone. These are xml changes I made for froyo to get white text in the status bars and widgets.

> MusicGoogle.apk
[res\layout\statusbar.xml]
44 - Replace with 41
45 - Replace with 42

Was able to get partial white text in MusicGoogle.apk here:

Any help in getting this straight would be fantastic, been trying a bit editing, but some of the changes have had undesirable effects. IF* there is a good resource there's a few other apps I'd like to fix this in as well.
http://www.droidforums.net/forum/%3Ca%20href=http://www.***********/photo/jFaM1YyO/CAP201007081208.html%20target=_blank%3E[IMG]http://dc265.***********/img/336356925/26a5a18c/CAP201007081208.jpg?rnd=0.4970726012494887

it looks like you didn't replace the 45 value in the hex editor
 
OP
thebowers

thebowers

Premium Member
Premium Member
Theme Developer
Joined
Nov 24, 2009
Messages
2,545
Reaction score
1
Location
Iowa
OP now has the colorchangev3.jar.zip file attached. Just remove the .zip and enjoy
 

lmt1979

Member
Joined
Feb 18, 2010
Messages
80
Reaction score
0
Location
Greenville, NC
xml

I am going to add my notes to this post in hope it will help someone. These are xml changes I made for froyo to get white text in the status bars and widgets.

Was able to get partial white text in MusicGoogle.apk here:

Any help in getting this straight would be fantastic, been trying a bit editing, but some of the changes have had undesirable effects. IF* there is a good resource there's a few other apps I'd like to fix this in as well.
http://www.droidforums.net/forum/%3Ca%20href=http://www.***********/photo/jFaM1YyO/CAP201007081208.html%20target=_blank%3E[IMG]http://dc265.***********/img/336356925/26a5a18c/CAP201007081208.jpg?rnd=0.4970726012494887

it looks like you didn't replace the 45 value in the hex editor

Let me make sure I understand you correctly:

I am basically copying and pasting line 42's contents into 45 and keeping line 42 as is?
 

Jim 777

Silver Member
Joined
Dec 26, 2009
Messages
2,306
Reaction score
37
You da bomb!
Don't know how you came across this but I love it!

More customizing to come!
 

thinkmega

Member
Joined
Jun 10, 2010
Messages
285
Reaction score
0
Can this method work with 2.2? I look into services.jar and find it basically empty.

When I compiled framework.zip, java complained unable to find \framework\services\classes.dex.

Did this happen to any of you?

Thanks,
 
OP
thebowers

thebowers

Premium Member
Premium Member
Theme Developer
Joined
Nov 24, 2009
Messages
2,545
Reaction score
1
Location
Iowa
Is the rom you are on deodexed? If not this will not work.
 

Jim 777

Silver Member
Joined
Dec 26, 2009
Messages
2,306
Reaction score
37
Can this method work with 2.2? I look into services.jar and find it basically empty.

When I compiled framework.zip, java complained unable to find \framework\services\classes.dex.

Did this happen to any of you?

Thanks,
It worked great with me on BB v0.4 which is a 2.2 ROM

Is the rom you are on deodexed? If not this will not work.
Eh, so would that be me?
 

Jim 777

Silver Member
Joined
Dec 26, 2009
Messages
2,306
Reaction score
37
I want to throw out another
w00t.gif
for the bowers. Still playing with the colors.
11598d1278808948-text-color-change-complete-how-do-snapshot7.png
 
OP
thebowers

thebowers

Premium Member
Premium Member
Theme Developer
Joined
Nov 24, 2009
Messages
2,545
Reaction score
1
Location
Iowa
What is the size of your services.jar file? Usually a non deodexed one is really small (a couple k). Most customs if not all are deodexed.
 

Jim 777

Silver Member
Joined
Dec 26, 2009
Messages
2,306
Reaction score
37
Is this a one time deal? :D

Can't get it to work anymore.
Weird.
 

thinkmega

Member
Joined
Jun 10, 2010
Messages
285
Reaction score
0
I am a little confused by the methods shown in the original post: what if I want to assign different colors to different items, ie, clock=FF0000FF while date=FFFF0000, how should I change the xml files? In the original post, it suggests to change the byte after 08 00 00 1c to the color of our choice. How should we handle different color on different item?

Hope we will get some guidance here.

Thanks.
 
Top