I just started messing around with making themes. I know how to modify the xml, png, and .9.png files; but am having problems with the text under the quickpanel icons (ie. wifi, bluetooth, gps, vibrate, orientation).
What files do I need to modify to change the text color under the quickpanel icons? I'm assuming it's in the twframework-res.apk, but I looked through all the xml files and didn't see where to change the text color.
If anyone has some insight, please advise. Thanks
mod777 said:
I just started messing around with making themes. I know how to modify the xml, png, and .9.png files; but am having problems with the text under the quickpanel icons (ie. wifi, bluetooth, gps, vibrate, orientation).
What files do I need to modify to change the text color under the quickpanel icons? I'm assuming it's in the twframework-res.apk, but I looked through all the xml files and didn't see where to change the text color.
If anyone has some insight, please advise. Thanks
Click to expand...
Click to collapse
I have done some themeing before, and although I never have changed the text you are asking for and dont know where it is, I can tell you that the first thing you need to do is. Decompile the framework. This is because many xml's are hidden in the apk format. Searxh for apk manager to do so.
After decompiling look in twframework-res\res\layout\status_bar_expanded.xml
Each item will have something like android:textColor="@color/tw_colorXXX"
Then look for that in twframework-res\res\values\colors.xml
joeshmoe08 said:
I have done some themeing before, and although I never have changed the text you are asking for and dont know where it is, I can tell you that the first thing you need to do is. Decompile the framework. This is because many xml's are hidden in the apk format. Searxh for apk manager to do so.
Click to expand...
Click to collapse
I know how to decompile and modify the xml files and I use apktool (apkmanager is just a wrapper for apktool).
CuriousTech said:
After decompiling look in twframework-res\res\layout\status_bar_expanded.xml
Each item will have something like android:textColor="@color/tw_colorXXX"
Then look for that in twframework-res\res\values\colors.xml
Click to expand...
Click to collapse
I already modified the status_bar_expanded.xml colors and still the text doesn't show up correctly (changed all colors to #ffffffffff).
Maybe it's not the text that is the problem but the png background, but changing the status_bar_background.9.png didn't fix it.
Here's the screeny of what I am trying to fix.
I've seen that before. LOL What do you want it to look like?
You sure you didn't modify the text in \res\values\strings.xml?
CuriousTech said:
I've seen that before. LOL What do you want it to look like?
You sure you didn't modify the text in \res\values\strings.xml?
Click to expand...
Click to collapse
the text in strings.xml is correct. I just want the text to show
Change them all back to the orginal in status_bar_expanded.xml which should be android:textColor="@color/tw_color001"
That just made the text black, any other suggestions?
I think it might actually be the tw_quick_panel_black_bt.png - I'll modify the png and see if that helps.
tw_color001 should be white.
The background for it is status_bar_header_background_01.png which is where the text is drawn over.
I got it. It was the status_bar_extended.xml, but it was the size dpi which was causing the problems. Thanks for all the help. See screeny
+2 thanks
Can someone tell me how to change the notification text color? What is its corresponding value in the XML files? Thanks.
Just did a search. Looks like you have to get into the classes.dex in services.jar and modify StatusBarIcon.smali
http://forum.xda-developers.com/showthread.php?t=549309
Oh, or did you want the notifications in expanded?
In twframework-res\res\layout\status_bar_expanded.xml look at the lower section where you'll see android:textColor="#ffffffff" which is hex for white (ARGB), about 3 times. Leave the first FF alone. That's alpha channel.
CuriousTech said:
Just did a search. Looks like you have to get into the classes.dex in services.jar and modify StatusBarIcon.smali
http://forum.xda-developers.com/showthread.php?t=549309
Oh, or did you want the notifications in expanded?
In twframework-res\res\layout\status_bar_expanded.xml look at the lower section where you'll see android:textColor="#ffffffff" which is hex for white (ARGB), about 3 times. Leave the first FF alone. That's alpha channel.
Click to expand...
Click to collapse
The text in the expanded notifications panel. Thanks! Exactly what I was looking for.
Related
anyone know how to change the text of the widget on the homescreen?
I figured it would be in white_text.xml and grey_text.xml but i changed what i thought would correspond to the text colour (from the preceeding code), hell i then changed every bloody FFFFFF in there one at a time for no change. I have managed to change the text inside the widget when you open it up by changing new_white_text.xml and news_grey_test.xml
Any ideas? Maybe a smali edit? Had a quick look thru smali files but couldn't really find anything to change this colour (i am very new to smali stuff).
If you have been able to change it can you let me know the line number maybe?
thanks
Hi, I did this a while back so I forgot what value I changed, but here is the file I changed in Metamorph. You can maybe do a comparison to see what's changed.
It also has the background for Moonsspoon's gchrome, however the theme file isn't included. (So don't use it as-is)
Hope this helps
Thanks heaps mate. I will try it out later and see how I go.
Ive been searching and searching but just cant find the background for the music bar on the notifications pulldown so I can change it, see screenshots
Anyone know where it is??
EDIT: I have noticed that the same background is used when in a call behind the call in the notifications pull down so that means that it cant be music specific so it must be in framework-res or com.htc.resources but I have searched and just cant find it :-(
What a coincidence... just sent you pm with this...
Did you checked if this is the topround_v1.9.png in HtcMusic\res\drawable-hdpi ?
Edit: Or check the topround_v3.9.png in the com.htc.resources\res\drawable-hdpi
kalagas said:
What a coincidence... just sent you pm with this...
Did you checked if this is the topround_v1.9.png in HtcMusic\res\drawable-hdpi ?
Edit: Or check the topround_v3.9.png in the com.htc.resources\res\drawable-hdpi
Click to expand...
Click to collapse
Nope its not them......
common_transport_play_rest.9.png in com.htc.resources\res\drawable-hdpi???
edit: or common_slide_bar.9.png in com.htc.resources\res\drawable-hdpi???
kalagas said:
common_transport_play_rest.9.png in com.htc.resources\res\drawable-hdpi???
edit: or common_slide_bar.9.png in com.htc.resources\res\drawable-hdpi???
Click to expand...
Click to collapse
it cant be that one, if you look at my image in first post its purple.....
EDIT: actually its doesnt look purple at all, maybe i was tired earlier lol, its a weird grey color and also it is 1 solid color
It's not purple for sure...
Have you tried to change any icons i have told you???
I believe it's on of them...
kalagas said:
It's not purple for sure...
Have you tried to change any icons i have told you???
I believe it's on of them...
Click to expand...
Click to collapse
I have tried them all and its none of them :-(
I think i found it
status.png in HtcStreamPlayer\res\drawable-hdpi
kalagas said:
I think i found it
status.png in HtcStreamPlayer\res\drawable-hdpi
Click to expand...
Click to collapse
It looked promising but its still not it :-(
Please someone must of found this?
It is very easy to find in other roms just a simple png in tw-framework :-(
I have noticed that the same background is used when in a call behind the call in the notifications pull down so that means that it cant be music specific so it must be in framework-res or com.htc.resources but I have searched and just cant find it :-(
bumping for possible solution???
I never took care for that one so far, since it looks fine to me, but you can try the following procedure, since it seems an RGB value, not a png.
1. Make a screenshot
2. Sample the RGB color code in Photoshop
3. go to first xml folder like layout in com.htc.resources and mark all xml and open all of these at the same time in Notepad++
4. Search all files for the sampled RGB value
5. Repeat this folder by folder until you find an entry, that makes sense
he_stheone64 said:
I never took care for that one so far, since it looks fine to me, but you can try the following procedure, since it seems an RGB value, not a png.
1. Make a screenshot
2. Sample the RGB color code in Photoshop
3. go to first xml folder like layout in com.htc.resources and mark all xml and open all of these at the same time in Notepad++
4. Search all files for the sampled RGB value
5. Repeat this folder by folder until you find an entry, that makes sense
Click to expand...
Click to collapse
Notepad++ has a nice feature that allows you to search through all files in a folder. (Search menu -> "Find in Files" or something like that) With this it should be quite easy to find.
I tried that method and came up with 292c31
I decompiled com.htc.resources, framework and system ui and I found some instances in colors xml and one in drawables but changing all of them didnt work so it must be somewhere else or maybe ive missed something........
Has anyone figured out how to change the clock color in the notification bar yet? UOT doesn't work for this, so we'll have to manually change it in services.jar
I'm think its in systemui if you decompile it you should find it in drawables not 100% sure though.
Read This
Versatile1 said:
I'm think its in systemui if you decompile it you should find it in drawables not 100% sure though.
Read This
Click to expand...
Click to collapse
I'm pretty sure you have to edit XMLs in the SystemUI to change any kind of text color.
You would be right, I believe the xml is located in the location mentioned above
Versatile1 said:
You would be right, I believe the xml is located in the location mentioned above
Click to expand...
Click to collapse
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
For some reason though, on the bionic, when I edit PNGs with something like NinjaMorph, SystemUI FCs on startup.
I'm currently working on editing a flashable theme zip to include my edits, then gonna flash that and see what happens.
Tivo7 said:
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
Click to expand...
Click to collapse
That's pretty much what I do. I started to learn to edit .jar and .xml files when I had my X but then other people released themes with the files I needed and I just kanged them instead. Now there is no base that I can find for liberty with the edits I need so I'm trying to learn it myself which will serve me better in the long run. If anyone knows a good noob friendly tutorial I'd love a link, all the ones I've found are a little over my head.
Don't know how to edit much more than some status bar framework. But a color change for the clock would be nice
Sent from my DROID BIONIC
inkdaddy66 said:
Don't know how to edit much more than some status bar framework. But a color change for the clock would be nice
Sent from my DROID BIONIC
Click to expand...
Click to collapse
On the bionic, status bar framework is in SystemUI, most of the framework is in Framework-res.apk
Tivo7 said:
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
For some reason though, on the bionic, when I edit PNGs with something like NinjaMorph, SystemUI FCs on startup.
I'm currently working on editing a flashable theme zip to include my edits, then gonna flash that and see what happens.
Click to expand...
Click to collapse
reboot after editing systemui and you should be fine
Versatile1 said:
reboot after editing systemui and you should be fine
Click to expand...
Click to collapse
"On startup"
I did reboot.
I also tried editing a theme download and flashing it.
Everything worked but the notification pulldown picture...
Everything in framework-res works and everything in systemUI works EXCEPT that blasted notification pulldown PNG (status_bar_background.9)
Tivo7 said:
Everything worked but the notification pulldown picture
Everything in framework-res works and everything in systemUI works EXCEPT that blasted notification pulldown PNG (status_bar_background.9)
Click to expand...
Click to collapse
That's what I've found as well, I also can't get the shadow under the notification bar to show up.
Does any one know what the pngs are titled that flash while on a call?
I believe those are in blur-res or in the phone/dialer apk's depending on which images you're talking about
Hello,
I would like to change color of highlighting numbers in SMS messages but I'm lost and not able to find a right place where to change it. I looked at framework-res.apk and also com.htc.resources.apk but no luck. See attached image, if not clear what I was talking about. Does anybody know where I can change such color, please?
Thanks for any help.
I am asking a similar question about theming and how to change the selected / highlighted "text color" when "cutting and pasting", searching or selecting a link in my browser.
Specifically for Sense ROMS 2.1 or 3.0 with GB 2.3.3 or 2.3.4. The T-Mobile HTC MyTouch theme called "Safari" has everything blue for the text selections and highlights, and want to have this same feature on a standard HTC ROM. Not a green color fan.
Looking for what *.xml file controls this in the framework files?
Is this XML in the
com.htc.resources.apk
framework-res.apk
files?
Again, trying to do the same thing, to learn which xml file controls this.
TIA
danielo said:
Hello,
I would like to change color of highlighting numbers in SMS messages but I'm lost and not able to find a right place where to change it. I looked at framework-res.apk and also com.htc.resources.apk but no luck. See attached image, if not clear what I was talking about. Does anybody know where I can change such color, please?
Thanks for any help.
Click to expand...
Click to collapse
malloy0 said:
I am asking a similar question about theming and how to change the selected / highlighted "text color" when "cutting and pasting", searching or selecting a link in my browser.
Specifically for Sense ROMS 2.1 or 3.0 with GB 2.3.3 or 2.3.4. The T-Mobile HTC MyTouch theme called "Safari" has everything blue for the text selections and highlights, and want to have this same feature on a standard HTC ROM. Not a green color fan.
Looking for what *.xml file controls this in the framework files?
Is this XML in the
com.htc.resources.apk
framework-res.apk
files?
Again, trying to do the same thing, to learn which xml file controls this.
TIA
Click to expand...
Click to collapse
Those color codes will be in the messaging apk not the the framework or the resources. HTC has many color codes over writting each other. I would start in the messaging app.
These color codes are MOSTLY in the framework files, otherwise when you change skins they would always be the same green. This is not the case. Try it yourself with a different skin other the the HTC default.
zelendel said:
Those color codes will be in the messaging apk not the the framework or the resources. HTC has many color codes over writting each other. I would start in the messaging app.
Click to expand...
Click to collapse
I know about themes more then you think. I don't use the stock SMS app so not so sure about that one but before you say I should try it have a look at the SS. I know my way around the framework enough to change everything.
I themed a MMS app from CM to be inverted, but there is one section that I can not fix for the life of me. I have used beyond compare and compared to some other apps but I can't find what I need to change. Here is the problem: http://forum.xda-developers.com/attachment.php?attachmentid=1645176&d=1358198445
After you type a name in the to: section and select a recipient it changes to gray with black text. I don't know if I need to change an image for the background or an xml for the font color. I have looked through every font in the xml and there aren't any black fonts left that I can see. I want to either change the background white or the font blue. Any help would be appreciated.
Are you sure this isn't it in your styles.xml?...
Code:
<item name="android:textColor">?android:textColorSecondaryInverse</item>
XperienceD said:
Are you sure this isn't it in your styles.xml?...
Code:
<item name="android:textColor">?android:textColorSecondaryInverse</item>
Click to expand...
Click to collapse
Yes, it's in there. Should I change it or take it out completely? I can't remember if I mentioned in the OP this is my first time theming, so don't be afraid to talk to me like I am stupid. I very well may be.
sparkerjc said:
Yes, it's in there. Should I change it or take it out completely? I can't remember if I mentioned in the OP this is my first time theming, so don't be afraid to talk to me like I am stupid. I very well may be.
Click to expand...
Click to collapse
We all start somewhere, but all you need to do is look at the other android:textcolor lines then adapt that line above to match except using the hex color of your choice.
Sent from Myushi
XperienceD said:
We all start somewhere, but all you need to do is look at the other android:textcolor lines then adapt that line above to match except using the hex color of your choice.
Sent from Myushi
Click to expand...
Click to collapse
I started by changing that line to the hex color, and it did nothing. I went through and changed every single thing to that hex color, just hoping to see anything change at all and no luck. I have a hunch it is some in one of the recipients*.xml files not being linked to a proper font color some how. Would it help if I put up my entire styles.xml up here?
sparkerjc said:
I started by changing that line to the hex color, and it did nothing. I went through and changed every single thing to that hex color, just hoping to see anything change at all and no luck. I have a hunch it is some in one of the recipients*.xml files not being linked to a proper font color some how. Would it help if I put up my entire styles.xml up here?
Click to expand...
Click to collapse
That's from your styles.xml which is why I pointed it out. You need to change - android:textColorSecondaryInverse to #ffffffff, if you've done that and still changed nothing, then yes it must be something else.
XperienceD said:
That's from your styles.xml which is why I pointed it out. You need to change - android:textColorSecondaryInverse to #ffffffff, if you've done that and still changed nothing, then yes it must be something else.
Click to expand...
Click to collapse
Yeah, I did that and still nothing. Thanks for the help let me know if you have any other ideas.
sparkerjc said:
Yeah, I did that and still nothing. Thanks for the help let me know if you have any other ideas.
Click to expand...
Click to collapse
Contacts, Phone apks maybe, it's where I'd now be looking.