[Q] Help needed: How to change highlighting color in SMS application - Desire HD Themes and Apps

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.

Related

[Q] ?s about themeing

I really want to theme my phone, is there any tips to make it easyier
an also theres no meny png files that im not sure what changes what, is there a guide of any sort for that or anything.
I got editing images down but im still gettin lost on changing things
an out of curioisy is there a good themer out there that would be willing to work with me personally so im not gettin mixed results
here ya go..this should get you a start
http://www.google.com/cse?q=how+to+...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
Great resource here
im not sure if im wording this right, but to theme an app u open that apps apk. to theme a widget u open that widgets apk. right?
So what all does framwork control?
still tring to get it togather what png's edit what on my phone
Essentially yes. Most of the app's .png's will be in the respective .apk, although if it's a Sense ROM then a lot is stored in the 'com.htc.resources.apk'
The 'framework-res.apk' holds all the files for like the notification area, the pull down menu, status icons, buttons, tick boxes, radio buttons etc...
The best way to familiarise yourself with it all is just to have a look through the image folders and see what you see.
not much luck, im gettin lost, so ill be back in a cuple days let u knw if i got it yet, if i cant come up with it, ill just make a list of things i want done an see where it goes.
Are you on a Mac or PC?
Keep in mind, you have to sign it to get it to install if you unpack it. After weeks of failed signing attempts (I still cant get them to sign) I found a way around this though...just don't unpack it Use 7zip on PC or I am on a Mac so I use Springy. Replace what you want and you are good to go.
Let me know if you need more help with this method. It isn't the way everyone else does things, but it works for editing things and making it what you want.
@reanger91878 I was just looking into start some theming and was trying to figure out if using a Mac put me at a disadvantage... but I guess since I found you I'll know who to ask if I run into a problem. So I guess I'm gonna get Springy and see what I can figure out. (I've never done this crap before).
:edit: boo it costs money, any free options? or will the non-licensed version work for me?
Alright
heres what i want done
I have NFX Sprint 2.31.651.7 STOCK Odex Update3.
Lock screen bar where its grey i want black
All screens under settings an phone options like device1 pic 1 want there its white to be black an the black letters white with a green boarder.
Device2 pic: want top an bottom where its grey to be black save with bookmark widget an calander app
Device3: white section black an the letter white
Device4: change all screens from white to black an white lettes an the grey buttons at the bottom to green same with clock, messages, music and photos
Device5: i want the ui buttons at the bottom like that but for it to be Phone in the middle app drawer on the left an add to home on the right
Invert all menus uder browser
so if some one would be willing to help with what xml an pic files i edit to do it, or some one helps me put it togather it would be awsome an id be very thankful
BuddahWolf01 said:
@reanger91878 I was just looking into start some theming and was trying to figure out if using a Mac put me at a disadvantage... but I guess since I found you I'll know who to ask if I run into a problem. So I guess I'm gonna get Springy and see what I can figure out. (I've never done this crap before).
:edit: boo it costs money, any free options? or will the non-licensed version work for me?
Click to expand...
Click to collapse
Using a Mac does not put you at a disadvantage per se...kind of, but there are workarounds
You don't have to use Springy, that is just what I use. The key is to find an Mac application that can open up a .zip file without extracting it, because once you extract, you need to resign (no big deal really, but for whatever reason my computer won't properly sign). I think the free version of Springy lets you open up a ROM of a certain size? Can't remember...but if you are editing a theme, they should open, because most are under 15MB. You can also just search around for other Mac apps that handle zip files and find one that does not extract. Let me know what you come up with and what you need help with...I gained much knowledge here, and will gladly pass on what I have gleaned.
DubsideWICKED said:
heres what i want done
I have NFX Sprint 2.31.651.7 STOCK Odex Update3.
Lock screen bar where its grey i want black
All screens under settings an phone options like device1 pic 1 want there its white to be black an the black letters white with a green boarder.
Device2 pic: want top an bottom where its grey to be black save with bookmark widget an calander app
Device3: white section black an the letter white
Device4: change all screens from white to black an white lettes an the grey buttons at the bottom to green same with clock, messages, music and photos
Device5: i want the ui buttons at the bottom like that but for it to be Phone in the middle app drawer on the left an add to home on the right
Invert all menus uder browser
so if some one would be willing to help with what xml an pic files i edit to do it, or some one helps me put it togather it would be awsome an id be very thankful
Click to expand...
Click to collapse
Big tasks Don't know if anyone will actually be able to do it for you, but check the resources above to get an idea where to start. It's the whole "give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime" idea.
Open up your ROM and check the framework-res.apk and see what you find...but you are looking to do more than just framework edits...
ranger61878 said:
Big tasks Don't know if anyone will actually be able to do it for you, but check the resources above to get an idea where to start. It's the whole "give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime" idea.
Open up your ROM and check the framework-res.apk and see what you find...but you are looking to do more than just framework edits...
Click to expand...
Click to collapse
Out of what all i want edited what is controlled by frame work an then would the rest be Apk files in the system app
my biggest problem is im not understanding what xml files change what an some of the pngs idk what they change
edit: I found post that said this, is that a pretty good way to descride it.?
app folder - This folder contains all of the apps that will be installed during an update or wipe. You will need to extract only the apks of the apps you wish to change the icon and graphics for.
-Launcher.apk - This file is in the app folder and contains the menu launcher tab, clock, google search widget, wallpapers and some other things.
framework - This folder contains framework-res.apk, this is where the bulk of your editing will take place.
When you open a apk you will see:
assets - This will contain images, sounds and other content used by the programs. Not always used!
META-INF - This contain the encryption data of the update.zip.
res - This folder contains all of the png and xml files. The xml files are used to format the UI, these can be used to change the locations of things on the screen. The xmls need to be unencrypted first. Depending on the apk there can be a bunch of folders under the res folder but we will only concentrate on the drawable ones.
-drawable - The png files in this folder are displayed wheather the keyboard is open or closed. The majority of the files are here.
-drawable-land - These are the files that will show when the keyboard is open. There won't be as many files in these folders. Most of the time the programmer will re-organize the layout with an xml file.
so basically everything is a picture that i want changed an xml files control text color an placement of where things are or what?,
im try my best to but thoes darn xml files are messing with me lol
To start, don't mess with the XML files. Just make changes to the PNG files. Once you get familiar with changing icons and status bar colors, then you can start messing with XML files. Let's say you want a different alarm icon.
Look in the DeskClock.apk under res/drawable-mdpi. You would find an icon(PNG) you want to substitute with, size it to the same size as ic_launcher_alarmclock.PNG, name it the same name and replace the original in the apk.
Use adb to push the apk back to your phone. I would then reboot and then enjoy your new icon.
Some icons will be in drawable-mdpi and some just in drawable. No need to change hdpi on our phones.
The majority of your status bar icons and base OS icons will be in framework-res.apk.
Sent from my HERO200 using XDA App
poashll said:
To start, don't mess with the XML files. Just make changes to the PNG files. Once you get familiar with changing icons and status bar colors, then you can start messing with XML files. Let's say you want a different alarm icon.
Look in the DeskClock.apk under res/drawable-mdpi. You would find an icon(PNG) you want to substitute with, size it to the same size as ic_launcher_alarmclock.PNG, name it the same name and replace the original in the apk.
Use adb to push the apk back to your phone. I would then reboot and then enjoy your new icon.
Some icons will be in drawable-mdpi and some just in drawable. No need to change hdpi on our phones.
The majority of your status bar icons and base OS icons will be in framework-res.apk.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Well said.
You can also do it on your computer...don't extract, just open, replace, close, put on SD and flash (after you nandroid...just in case )
iv been looking an looking, but cant seem to find a black stock theme
with stock htc green when a button is pressed, any one kno off a stock black theme i might be over looking
still havent figured ths out, an im having problems because im odexed?
DubsideWICKED said:
still havent figured ths out, an im having problems because im odexed?
Click to expand...
Click to collapse
Yes more than likely your only have trouble theme and odexed rom. Try a rom that is deodexed or I heard the have some deodex sripts that will do it.
ASimmons said:
Yes more than likely your only have trouble theme and odexed rom. Try a rom that is deodexed or I heard the have some deodex sripts that will do it.
Click to expand...
Click to collapse
Alright is there a performance or memory difference between odex an deodex
Does this same process apply with adw? If so, does that mean theming aosp and cm6 are equally as easy?
Sent from my HERO200 using XDA App

[Q]background color in root explorer

hello everyone,sorry for my poor English
I have themed my own phone looks like a Nexus s
mostly every background is black and text is white,except
in root explorer ,when i press menu,the popup is white background and text is white too......then press more .again white background with white text
what can I do....
I hate to bring this old thread up again. But, does anyone have an answer?
It seems that the menu background for some common applications like "Root Explorer" or "Droid Analytics" does not change properly with the theme. Instead, it shows a white menu with white text.
My entire device is completely Gingerbread themed based off of the stock framework-res. But, these menus are totally messed up. White text on white menus. Should be white text on black transparent menus.
I might be way off: But have you guys tried changing the color in the .XML file/s?
zHk3R said:
I might be way off: But have you guys tried changing the color in the .XML file/s?
Click to expand...
Click to collapse
I changed the colors for menus within framework-res.apk res/values/styles.xml. All other menus system-wide work fine. Every other application menu works fine.
Which XML are you thinking about?
kennethpenn said:
I changed the colors for menus within framework-res.apk res/values/styles.xml. All other menus system-wide work fine. Every other application menu works fine.
Which XML are you thinking about?
Click to expand...
Click to collapse
I was thinking maybe changing color codes in Root Explorer's XML might help. But I don't know.
zHk3R said:
I was thinking maybe changing color codes in Root Explorer's XML might help. But I don't know.
Click to expand...
Click to collapse
Oh yeah I thought about that. But, since I'm creating this theme for a ROM used by hundreds of people, I'd rather not have to theme these external applications.
Someone's got to know the answer to this problem!
kennethpenn said:
Oh yeah I thought about that. But, since I'm creating this theme for a ROM used by hundreds of people, I'd rather not have to theme these external applications.
Someone's got to know the answer to this problem!
Click to expand...
Click to collapse
I see.. Hope you find your answer.
zHk3R said:
I see.. Hope you find your answer.
Click to expand...
Click to collapse
Thank you for the help!

[Q] Touchwiz Quickpanel Text under Icons help

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.

[Q] Changing icons in Notification bar (Miui)

Hi,
Can anyone explain how one changes the icons in the notification bar?
More specifically, the 3G icon, Signal Strength, and the notification for a new text message?
Also, I know you can change the carrier name to whatever you like with apps like "CCname" and etc. but I've also seen that people have changed it into actual pictures or .png. Any help?
Thanks
I'd like to know more about this too!
The icons are usually found in framework-res.apk/res/drawable*** and begin with "stat". The email notification depends on what app your using but is also found in res/drawable***. You can change them using metamorph.
Hope this helps.
So do you mean I should use a program like APK Manager, and open up the framework apk? What does metamorph have to do with it? Sorry, don't know anything about this.
Unzip the theme you're using, and navigate your way through the SystemUI folder.
If your theme doesn't come with custom icons, download a theme that does (I use Buuf as a base, because it effectively themes /everything/) and see what naming scheme you require for your custom icons.
Replace the icons in the theme you're using, in the correct folder, and rezip as an .mtz.
Not sure if it's the /best/ way to be doing things, but is working well enough for me. I'm finding it rather easy to create a whole custom theme by simply replacing elements from buuf, with my own, and removing those I want as default.
Edit: I too would like to know about carrier icons, however! haha.
Antennas said:
Unzip the theme you're using, and navigate your way through the SystemUI folder.
If your theme doesn't come with custom icons, download a theme that does (I use Buuf as a base, because it effectively themes /everything/) and see what naming scheme you require for your custom icons.
Replace the icons in the theme you're using, in the correct folder, and rezip as an .mtz.
Not sure if it's the /best/ way to be doing things, but is working well enough for me. I'm finding it rather easy to create a whole custom theme by simply replacing elements from buuf, with my own, and removing those I want as default.
Edit: I too would like to know about carrier icons, however! haha.
Click to expand...
Click to collapse
this is how i was told to do it by another extremely helpful gentleman, the carrier icon i would like to know as well
Does anyone know what a sms notification is called? Can't find it in any of the themes for miui. The closest I find is "chat" and i'm assuming thats for google chat
Easiest thing to do is get your rom zip and unpack all the frameworks and apks in apps using 7zip.
Then do a search for "stat" you'll be presented with the icons that appear in your status bar, then you can highlight them to see what apk they came from and edit as you please.
You don't need to use apk tool/manager as your only doing simple edits.
Metamorph will only replace the images you want so you dont need to flash/push a full apk.
Theres threads how to use metamorph, I think one might be a sticky at the top of this section. Its childs play to use it.
jeffng09 said:
Does anyone know what a sms notification is called? Can't find it in any of the themes for miui. The closest I find is "chat" and i'm assuming thats for google chat
Click to expand...
Click to collapse
It depends what app your using for SMS.
Sent from my GT-I9100 using XDA Premium App
the way i have done it today was to take the theme file and open it with 7zip(i just opened the archive, i didnt extract it) and go to folder systemui>res>drawable hdpi>stat_notify_sms.png or whatever file you want to change, then i would delete the file that i wanted to change and add the renamed file that i wanted to the archive. it has to match the stat_notify_sms.png name, or whatever the image is that your changing, or it will not work. then i just put it into dropbox and dl'd it to my phone and installed it
the only downside for me was that i couldnt change that image to the little ribbon that i wanted to. other than that i was able to change the signal bars, the wifi bars, and the 3g bars, but the sms wouldnt change for me, neither would the gmail.
I'm using the stock sms from miui.
bodybombs said:
the way i have done it today was to take the theme file and open it with 7zip(i just opened the archive, i didnt extract it) and go to folder systemui>res>drawable hdpi>stat_notify_sms.png or whatever file you want to change, then i would delete the file that i wanted to change and add the renamed file that i wanted to the archive. it has to match the stat_notify_sms.png name, or whatever the image is that your changing, or it will not work. then i just put it into dropbox and dl'd it to my phone and installed it
the only downside for me was that i couldnt change that image to the little ribbon that i wanted to. other than that i was able to change the signal bars, the wifi bars, and the 3g bars, but the sms wouldnt change for me, neither would the gmail.
Click to expand...
Click to collapse
For Gmail notification you will have to put
stat_notify_email.png here
com.google.android.gm->res->drawable-hdpi
if these folders do not exists create them.
For changing SMS notification icon changing stat_notify_sms.png under
com.android.mms->res->drawable-hdpi
will change SMS notification icon
Hope this helps.
Ok, Just to be clear.
First, I find a pre-made theme, and change the .mtz to .zip so I can open it.
Then I find the icon i want to replace and change it with the exact name.
Then I compress it back to a .zip.
Then I rename the .zip into a .mtz.
Should that work?
jeffng09 said:
Ok, Just to be clear.
First, I find a pre-made theme, and change the .mtz to .zip so I can open it.
Then I find the icon i want to replace and change it with the exact name.
Then I compress it back to a .zip.
Then I rename the .zip into a .mtz.
Should that work?
Click to expand...
Click to collapse
no,
find theme
right click>7zip>open archive
find the icon you want to replace and change it with the exact name
i have to delete the icon im replacing from the archive before i put the new icon in its place first
smokin901 said:
For Gmail notification you will have to put
stat_notify_email.png here
com.google.android.gm->res->drawable-hdpi
if these folders do not exists create them.
For changing SMS notification icon changing stat_notify_sms.png under
com.android.mms->res->drawable-hdpi
will change SMS notification icon
Hope this helps.
Click to expand...
Click to collapse
the gmail still didnt work for me
jeffng09 said:
I'm using the stock sms from miui.
Click to expand...
Click to collapse
If your on stock odds are its in the framework, never ran miui so I'm not too sure.
Where can I find the battery icons at? I like in the systemui and framework-res folders and I can't find anything
bodybombs said:
the gmail still didnt work for me
Click to expand...
Click to collapse
Have you tried "stat_notify_gmail.png" in the framework?
dully79 said:
Have you tried "stat_notify_gmail.png" in the framework?
Click to expand...
Click to collapse
yeah i themed everything i could find relating to gmail lol
SubyWill said:
Where can I find the battery icons at? I like in the systemui and framework-res folders and I can't find anything
Click to expand...
Click to collapse
systemui>res>raw should be it

[Q] Samsung Captivate Threaded Messages

First of all Want to introduce my self to everyone and greet the XDA community.
I think all of you guys are doing a wonderful job with all of the things you are creating for android, and window's mobile users. Hello all!
My question is.. Is there any way to change the style or colors of the yellow and blue bubbles for the threaded messaging?
Is it possible to change it entirely so it could look different? For example, the HTC EVO 3D threaded Messaging or any HTC threaded Messaging?
Why don't you try out Handcent SMS?
I've tried that before and i don't really like it.
Is there anyway to change the theme of the conversations that come default with the phone?
SM477Z said:
I've tried that before and i don't really like it.
Is there anyway to change the theme of the conversations that come default with the phone?
Click to expand...
Click to collapse
Yup but it is long and a P.I.T.A. you have to recompile the apk, find Tue color codes for the bubbles, change the color codes, recompile the apk and push to the phone.
zelendel said:
Yup but it is long and a P.I.T.A. you have to recompile the apk, find Tue color codes for the bubbles, change the color codes, recompile the apk and push to the phone.
Click to expand...
Click to collapse
Do you know of a guide that could show me how to do this?
SM477Z said:
Do you know of a guide that could show me how to do this?
Click to expand...
Click to collapse
Start with APK manager or APK tool both will decompile the apk. As for where the color codes are in the apk I have never looked but if you PM nunhugger, xtreme, defuse, spinz, chiki or another member from the Team Phoenix themes thread I am sure one of them can tell you where the color codes are.
Thanks alot!
The bubbles are actually images. They are .9 images...so they, must be decompiled before the colors are changed. As fire changing the style all together. I am sure it can be done...would just take a lot of work.
sent using a phone.

Categories

Resources