Hi all. I was wondering if any of you themers would be able to tell me how to change the color of the notifications text in the pull down bar (the download one is pretty clear, so I do not need that). I have changed all the color values in status_bar_latest_event_content.xml to no avail. I have also looked through status_bar_expanded.xml and colors, styles.xml, etc. and have not solved the puzzle. Is there a smali edit I need to make, similar to the transparent background for the notifications bar?
Anyway, I have looked everywhere, tried several "guides" to no avail. If this has been addressed elsewhere, it was not evident, to me at least, and I apologize for covering trodden ground.
Any help is appreciated. Thanks!
Steve
I've been trying to find this damn thing for awhile to no avail and eventually just gave up. I did figure out it's an xml file in com.htc.resources but never managed to figure out which xml was controling it. All I can say is look there, good luck on your search!
N-Forced said:
I've been trying to find this damn thing for awhile to no avail and eventually just gave up. I did figure out it's an xml file in com.htc.resources but never managed to figure out which xml was controling it. All I can say is look there, good luck on your search!
Click to expand...
Click to collapse
In resources, eh? Man HTC does some weird stuff. Thanks for the input!
Sent from my ADR6300 using XDA App
N-Forced said:
I've been trying to find this damn thing for awhile to no avail and eventually just gave up. I did figure out it's an xml file in com.htc.resources but never managed to figure out which xml was controling it. All I can say is look there, good luck on your search!
Click to expand...
Click to collapse
I ran a diff on the DisctINC INverted Sense theme's decompiled resources and the one from my ROM and did not see any changes that would affect text color. The only differences I saw were with PNG files.
This is really irritating. I do not like it when I can't figure something out .
EDIT - I am a moron. I accidentally decompiled two versions of my resources and ran the diff . Stupid daylight savings time...
I wil re-run the diff and report back WHEN I get it.
Steve
OK, got it.
It was a smali edit in services.jar. Pull classes.dex from the jar file with 7zip or Betterzip, decompile the classes.dex file with baksmali, go to /com/android/server/status/StatusBarService.smali, search for "textcolor" in that document, and above the three instances you will see, change the -0x100000 to -0x1, recompile a new classes.dex with smali, copy the new classes.dex to services.jar using 7zip/betterzip, save, push to your phone and you will have white notifications text.
Not sure how it may affect other areas of text, so I will report back if anything weird happens.
Steve
sk806 said:
It was a smali edit in services.jar. Pull classes.dex from the jar file with 7zip or Betterzip, decompile the classes.dex file with baksmali, go to /com/android/server/status/StatusBarService.smali, search for "textcolor" in that document, and above the three instances you will see, change the -0x100000 to -0x1, recompile a new classes.dex with smali, copy the new classes.dex to services.jar using 7zip/betterzip, save, push to your phone and you will have white notifications text.
Not sure how it may affect other areas of text, so I will report back if anything weird happens.
Steve
Click to expand...
Click to collapse
Hell yea glad you got it man! Been waiting along time for this.
sk806 said:
It was a smali edit in services.jar. Pull classes.dex from the jar file with 7zip or Betterzip, decompile the classes.dex file with baksmali, go to /com/android/server/status/StatusBarService.smali, search for "textcolor" in that document, and above the three instances you will see, change the -0x100000 to -0x1, recompile a new classes.dex with smali, copy the new classes.dex to services.jar using 7zip/betterzip, save, push to your phone and you will have white notifications text.
Not sure how it may affect other areas of text, so I will report back if anything weird happens.
Steve
Click to expand...
Click to collapse
Hmm..one weird thing, the text turns back to black when you press the notification. I think I know what to fix.
sk806 said:
Hmm..one weird thing, the text turns back to black when you press the notification. I think I know what to fix.
Click to expand...
Click to collapse
The answer is in one of the xml's in the color folder in com.htc.resources.
N-Forced said:
The answer is in one of the xml's in the color folder in com.htc.resources.
Click to expand...
Click to collapse
Thanks. I will check that out.
Sent from my ADR6300 using XDA App
I know this is an old thread, but I have the same issue. I have all of the text turned to white, but Ongoing Notifications, i.e. HTC Music or Pandora are still black text. I can't figure out where to change this. Has anyone been able to successfully make this change? I have included a screenshot to show what I'm talking about.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I think the thread I grabbed this from is a bit old and for an odd phone but it says to look in downloadprovider.apk, music.apk and probably pandora.apk for that matter. I just started ripping apart xml files so I didnt get to test this out yet.
"For the Music.apk you simply need to decompile the file with apktool as per 1a. Now go to /Music/res/layout/ and open statusbar.xml with editpad. Look for "?android:textAppearanceMediumInverse" and "?android:textAppearanceSmallInverse", simply remove the "Inverse" part from each line and save the file. Recompile, resign (not sure if it's needed but i do anyway) and push back to device. Music.apk would probably work across any rom as long as it is signed the same. (If it's even needed!)
For DownloadProvider.apk i did it slightly differently due to getting force closes after compiling with apktool. I simply opened the .apk and extracted the file, "status_bar_ongoing_event_progress_bar.xml" from /res/layout/. Now open this file with a hex editor and open a search box. Search for hex code "0800001C", there are 3 instances of this. After each one you need to change the following 6 characters. They all start as "0800001C000000FF" where the six zeroes are black and need to be changed to "0800001CFFFFFFFF" where the six F's represent white. Now save and exit. Copy this file back into the correct location in DownloadProvider.apk. It will not need resigning. Push this file to your device. Done!"
Related
Ok, I've searched far and wide, and I have no idea how to get the word "Phone" off of the 2.2 Rosie bar.
If anoyne is confused as to what I'm talking about here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's the word "Phone" at the bottom... anyone who can edit the xml or can tell me where to start, the help would be appreciated, as this is the LAST thing I need to do to release my theme.
I'm including the defualt sense 2.2 rosie bar, which I used to build from, in case maybe there's someone coming from another UI that may know.
thank you all for any help in advance.
I'm guessing its a XML edit... not sure where though...
In rosie where you put your "k" there are 4 other files which appear blank...one of them is.phone...also make sure the files in the hdmi port folder of resource apk are edited as such
Yay 4 Juggs said:
In rosie where you put your "k" there are 4 other files which appear blank...one of them is.phone...also make sure the files in the hdmi port folder of resource apk are edited as such
Click to expand...
Click to collapse
I have no idea of where you're talking about. In 2.2, the K goes in Rpsie/res/drawable-hdpi
In that folder, I don't see anything about a File named phone, or see anyt blank files.
COuld you be more specific?
looking in the apk you posted i dont even see your "k" i see 2 phone handsets...i need your rosie apk...from there i can tell you what to take out...
Yay 4 Juggs said:
looking in the apk you posted i dont even see your "k" i see 2 phone handsets...i need your rosie apk...from there i can tell you what to take out...
Click to expand...
Click to collapse
OHHHHHHHHHHHHHHHHH, you're talking about the Actual icons of phones.
NO NO NO. GUYS, I AM TALKING ABOUT THE ACTUAL WORD PHONE THAT IS ON THE BOTTOM ROSIE BAR. I DO NOT WANT THIS THERE.
TJDuckett said:
OHHHHHHHHHHHHHHHHH, you're talking about the Actual icons of phones.
NO NO NO. GUYS, I AM TALKING ABOUT THE ACTUAL WORD PHONE THAT IS ON THE BOTTOM ROSIE BAR. I DO NOT WANT THIS THERE.
Click to expand...
Click to collapse
yes the phone icons that are in your rosie should be replaced by your k...the word phone is just an overlay
Yay 4 Juggs said:
yes the phone icons that are in your rosie should be replaced by your k...the word phone is just an overlay
Click to expand...
Click to collapse
Ok... stop talking about the phone icons, lol. They're a non factor... I replaced them with the K bc I didn't want them there.
I simply just want that overlay (The word Phone) removed.
And thank you for your responses Juggs. People here definitely are awesome about trying to help.
Yay 4 Juggs said:
yes the phone icons that are in your rosie should be replaced by your k...the word phone is just an overlay
Click to expand...
Click to collapse
Right and he does NOT want the "Phone" text to be there. He wants to remove the text that says "Phone" from the bottom bar and replace with his own image. The problem is that in 2.1 it was an editable image and it seems that in 2.2 it has been moved to an XML or somewhere else, which is what we're trying to figure out here.
ok the base of your theme was something koni and i worked on a few weeks back and he released it as enamorous red...i released as part of my rom...his release of the theme did not include the fix for the "phone" we had to go back to a previous theme to fix it as done in my rom...for ****s n gigs add these two images to your rosie and tell me if the word phone is gone when you flash...
Stumbled across this thread, so said, what the hell, might as well help you out .
Untested, but should do the trick.
Ok guys just saw these. Literally ahve three people's fixes to try, which is awesome, so I'm going to start with uggs' (who was dead on when he mentioned I used Koni's as a base in my 2.1 build). Let's see if one works!
Attempt 1 (Juggs) - FC on launch.
Next attempt - An outside source is telling me to edit the resources.arsc or whatever.
TJDuckett said:
Next attempt - An outside source is telling me to edit the resources.arsc or whatever.
Click to expand...
Click to collapse
Ummm, the Rosie.apk I've attached for you contains the necessary edit to resources.arsc to remove the Phone text. You can ignore it if you wish, I suppose.
JsChiSurf said:
Ummm, the Rosie.apk I've attached for you contains the necessary edit to resources.arsc to remove the Phone text. You can ignore it if you wish, I suppose.
Click to expand...
Click to collapse
Hey man I just spoke to TJDuckett and he said it worked!! Thanks a ton man. How'd you make it work? What edits did you make?
JsChiSurf said:
Ummm, the Rosie.apk I've attached for you contains the necessary edit to resources.arsc to remove the Phone text. You can ignore it if you wish, I suppose.
Click to expand...
Click to collapse
Yea sorry I didn't respond earlier, but I've been busy working on it, since urs actually worked. I actually decided to try yours second, and that's why I asked jabba to respond for me because I've been working on getting this right ow that the phone word is removed.
Thank you very, VERY much.
and, actually juggs' img helps too, because there needs to be a more wide image to make the icon push to the center.
So thank BOTH of you for ur help!
I want to remove the word phone from my Rosie too, can you tell me what edits you made?
If you were to decompile Rosie.apk, you would find various strings are defined in the '/res/values' folder (via apktool), including the string for the 'Phone' text.
You "could" edit there and recompile, which gives you more flexibility, however, knowing that these values, when the apk file gets built, are compiled into the resources.arsc file, it is much quicker and easier to just hex edit the file directly.
So, after opening resources.arsc in a hex editor, we can search for 'Phone' in its hex value equivalent (with each letter separated by a null char (00)), which becomes:
500068006f006e006500
Searching this out, we find a couple of instances, but it is obvious, once looking, which is the correct one for the 'Phone' text in the Rosie launcher.
When hex editing, you can't remove or add content, since if we do, it will corrupt the file. We can only change. With that in mind, you can simply replace all of the characters with a blank space, hex equivalent of 20, becoming:
20002000200020002000
And there you have it. With this change, 'Phone' has been nulled out in favor of blank spaces that you can then insert a graphic of in its place. This does not remove the spacing that the text once took up, so if you are not removing the stock 'Phone' icon to the left of the text, a different approach is needed, as the icon will remain positioned to the left.
JCS, please get an EVO dude.. please
nebenezer said:
JCS, please get an EVO dude.. please
Click to expand...
Click to collapse
. Hopefully in October.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm looking to edit the the number colors and their shadow colors on my numeric buttons, but, I don't know which xml it's in, and don't want to change out 5 one by one to test and see. If anyone knows that'd be great.
What I hate about this apk, is that the text and shadow color for the call button are made blatant in one of the xmls, and the text color for the call buttons is like where's waldo.
You mean like this?!?!?!?
literally just finished this mod. high xml mod count until found it. >.<
To complete this mod you use apktool to decompile HtcDialer.apk.
Once there, in the values folder, there will be a file called styles.xml.
Inside styles.xml on line 194 starts the settings for the dialer buttons.
Change the text color on line 196 from black (color_0_0_0) to white (color_255_255_255).
A bit further down on line 200 is the shadow color. Flip that from white to black. Or whatever if you want red highlight.
Before you finish, there is another set you have to change for the "zero" button. Line 218.
From here you can change the letters on the dialer buttons as well. I think you can take it from there.
Then just save the file, rebuild with apktool, drop your other pngs in there, and sign.
Clear dalvik cache, flash, and you are good to go!
Remember when I asked this? LOL so much trial and error but finally WIN!
I don't remember you asking or anything, but thanks.
Another question. After I recompile this to push it through, do I sign it?
Yes you will have to sign the apk. If you look in the built apk, it is missing the meta inf folder. In turn, missing certs.
_Burst_ said:
You mean like this?!?!?!?
literally just finished this mod. high xml mod count until found it. >.<
Click to expand...
Click to collapse
Can you post your zip or files? I really like the black
Hey burst, my next questiois, where do I mod the colors for the star and pound signs? I got the number and 0 buttons how I want them but it didn't edit those two
Sent from my PC36100 using Tapatalk
TJDuckett said:
Hey burst, my next questiois, where do I mod the colors for the star and pound signs? I got the number and 0 buttons how I want them but it didn't edit those two
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
They are pngs in HTC res.
Theme is already released but I have a couple more things to change.
Known as PlurStarAlpha.
http://forum.sdx-developers.com/evo-theme-files/(burst)-plurstar-test/
NICE JOB _Burst_ .... I have been searching for that
Thanks
_Burst_ said:
They are pngs in HTC res.
Click to expand...
Click to collapse
Thanks. blahblahblah+10
Muuuuch better:
nice.
voicemail icon is a png also.
On to the next project!
_Burst_ said:
nice.
voicemail icon is a png also.
On to the next project!
Click to expand...
Click to collapse
Why would you not say where the png is located? That'd actually help
Sent from my PC36100 using Tapatalk
Since burst has "dissapeared", is there anyone who knows where the png for the voicemail icon under the number one is?
TJDuckett said:
Since burst has "dissapeared", is there anyone who knows where the png for the voicemail icon under the number one is?
Click to expand...
Click to collapse
Lol. You want me to spoon feed you everything?
I think the png is in the dialer apk. If not that then phone. Aren't you a themer/dev?
I'll be expecting part of your donations if you want to talk to me like that.
_Burst_ said:
Lol. You want me to spoon feed you everything?
I think the png is in the dialer apk. If not that then phone. Aren't you a themer/dev?
I'll be expecting part of your donations if you want to talk to me like that.
Click to expand...
Click to collapse
So, "spoon feeding" is giving an answer that isn't halfassed? As in, why even say it's a png (which is obvious, since it isn't text) if you're not going to say where it's at?
Thank you though. Found it a while ago (Thanks RIPTIDE9), and probably should've edited the post.
And sure, u can have all of my current donations (paypals a whoppin' $0 to ur account)
Anyways, I'm a themer, but this is also my first theme, and it's not even done yet, so, I'm learning as I go. Your help in this thread is awesome and really appreciated.
Now, here's a doozy:
What xml in the phone apk do I edit to govern how the dialer text colors are in THERE? Bc, it's the dialer pad buttons are still default colors during calls.
I don't know. Nice catch though. Gonna have to look into that.
So i was modifying my framework-res and and upon replacing it, i came upon this problem. I cannot figure out which file it is causing the text field to look like this. as far as i can tell, this only happens in the contacts fields as shown in the screenshot but it may be happening in other fields as well.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i've attached the files im having problems with. maybe someone can help me change these from hdpi to mdpi. i tried resizing them by reducing to 66% and using themeporter but it didnt work
lilshortwun said:
So i was modifying my framework-res and and upon replacing it, i came upon this problem. I cannot figure out which file it is causing the text field to look like this. as far as i can tell, this only happens in the contacts fields as shown in the screenshot but it may be happening in other fields as well.
edit: nvm i think i found it. it must be the textfield.9.png files. it seems that it didn't resize correctly
Click to expand...
Click to collapse
Yeah 9patches are a pain in the ass. Why were you trying to resize them anyway?
Sent from my T-Mobile myTouch 3G Slide
i wanted a new theme so i'm trying to port the one from the samsung fascinate. everything i wanted turned out good except this textfield 9patch. I've tried everything but it doesn't turn out correctly. any advice for me?
so far, i've replaced the default textfield 9patches so the above screenshot should be looking fine. But i'm having problems with the textfield_selected.9.png and textfield_press.9.png. i've tried the hdpi to mdpi using themeporter and one other program but it produced the same results as resizing it.
lilshortwun said:
i wanted a new theme so i'm trying to port the one from the samsung fascinate. everything i wanted turned out good except this textfield 9patch. I've tried everything but it doesn't turn out correctly. any advice for me?
so far, i've replaced the default textfield 9patches so the above screenshot should be looking fine. But i'm having problems with the textfield_selected.9.png and textfield_press.9.png. i've tried the hdpi to mdpi using themeporter and one other program but it produced the same results as resizing it.
Click to expand...
Click to collapse
It doesn't look any different from the stock textfields, why not just keep the stock ones?
Yeah if you try to screw with/resize 9patches in any way it tends to screw them up. The 9patch data isn't visible after the APK is compiled, so you have to decompile both APKs, which will make the 1 pixel wide black markers on the border of the 9patch visible. THEN resize/port/do whatever to it, then save it and make sure that the black markers are still on the outside then recompile the APK that you will be using in the end. IE, decompile both, edit and copy over what you need from the fascinate APK to the slide APK and then recompile. I use apktool to decompile and recompile, and apkmanager to sign it.
MusicMan374 said:
It doesn't look any different from the stock textfields, why not just keep the stock ones?
Yeah if you try to screw with/resize 9patches in any way it tends to screw them up. The 9patch data isn't visible after the APK is compiled, so you have to decompile both APKs, which will make the 1 pixel wide black markers on the border of the 9patch visible. THEN resize/port/do whatever to it, then save it and make sure that the black markers are still on the outside then recompile the APK that you will be using in the end. IE, decompile both, edit and copy over what you need from the fascinate APK to the slide APK and then recompile. I use apktool to decompile and recompile, and apkmanager to sign it.
Click to expand...
Click to collapse
ok ill give it a try. yeah the default textfields look the same but when you press it, it highlights a bluish color which goes with the rest of the theme that's why i wanted to do it.
edit: That was it! Thanks man. I had to decompile before i can resize. It's working perfectly now
lilshortwun said:
ok ill give it a try. yeah the default textfields look the same but when you press it, it highlights a bluish color which goes with the rest of the theme that's why i wanted to do it.
edit: That was it! Thanks man. I had to decompile before i can resize. It's working perfectly now
Click to expand...
Click to collapse
Awesome! Glad it worked.
Sent from my T-Mobile myTouch 3G Slide
The blue at the top of the pic. Where is that PNG at. I am trying to kang me a makeshift aosp theme and I cannot find that PNG. I looked in both frameworks and I see several blue ones. Just need to know which one it may be. Any help is much appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I finally found it in the Framework-res.apk Its called the activity bar, its the very first PNG in the res/hdpi folder. For some reason if you change it to black it force closes everything that uses it. But you can set it to grey or a darker grey and it works just fine
Glad you found it. Yeah, you can't render it bright green either for some reason. There are a lot of framework/SystemUI PNGs like that. If you render them certain colors, the app force closes. Having that issue with a theme I'm currently building...I have to go back through through every APKs res folder and locate the culprits. Lol
12MaNy said:
Glad you found it. Yeah, you can't render it bright green either for some reason. There are a lot of framework/SystemUI PNGs like that. If you render them certain colors, the app force closes. Having that issue with a theme I'm currently building...I have to go back through through every APKs res folder and locate the culprits. Lol
Click to expand...
Click to collapse
Wow, that's tedious man. This is the first one I've ever done more then themeing the if_launcher icons of the apps. So little at a time. Thanks for the info much appreciated.
scarmon25 said:
Wow, that's tedious man. This is the first one I've ever done more then themeing the if_launcher icons of the apps. So little at a time. Thanks for the info much appreciated.
Click to expand...
Click to collapse
I think it has something to do with the .9.PNG file type. When you decompile an apk, you'll see that the PNGs now have black lines embedded in them that tells system how to resize and use the images within the framework. If you alter these lines while modifying the PNG, you'll have all sorts of problems.
I never actually decompiled them. I used 7zip to open the archive and copy a replace the images. But yeah. Doesn't much matter now. The AOSP Mod ROM was just updated. Still was a great learning experience.
scarmon25 said:
I never actually decompiled them. I used 7zip to open the archive and copy a replace the images. But yeah. Doesn't much matter now. The AOSP Mod ROM was just updated. Still was a great learning experience.
Click to expand...
Click to collapse
I do the same, tedious, but gets the job done.
Sent from my SPH-D710 using XDA App
Yeah, it is nice when you can get away with just modifying/swapping PNGs. Unfortunately, theming is limited without editing smali and XML files. Also the black lines are still present in compiled images....they're just hidden.
12MaNy said:
Yeah, it is nice when you can get away with just modifying/swapping PNGs. Unfortunately, theming is limited without editing smali and XML files. Also the black lines are still present in compiled images....they're just hidden.
Click to expand...
Click to collapse
This is why I am unable to change the MMS bubbles then huh, Thanks, you just helped me figure something out. Going to have to play with that,
So i decompiled the mms.apk and saw the lines your talking abut. I changed the color and recompiled but that damn bubble still came out all distorted. Any idea why this is happening.
This thread gives me a headache. Thanks given to all of you for doing this tedious work for all of us to enjoy
Sent from my Blazing ET4G
scarmon25 said:
So i decompiled the mms.apk and saw the lines your talking abut. I changed the color and recompiled but that damn bubble still came out all distorted. Any idea why this is happening.
Click to expand...
Click to collapse
The only thing that works for me is zooming in on the image and using a pixel grid as not to compromise any part of the black lines. Its pretty tricky sometimes.
12MaNy said:
The only thing that works for me is zooming in on the image and using a pixel grid as not to compromise any part of the black lines. Its pretty tricky sometimes.
Click to expand...
Click to collapse
On this one the black lines are only on the edges. And the bubble is quite small in the PNG. Its the mms.apk from the new aosp mod rom. The green.bubble. I'm trying to make it a different shade of grey. Its just two.bright for me. I'm gonna play with it some more ttonight. I'm using adobe fireworks and it has a tool that will only change the color thou select. So when I go over it , it only changes the green. Doesn't mess with the lines. But I think I may do what you suggested and see what happens
It has been a while since I have messed with theming but I believe you have to use eclipse to compile the images. I don't think you can just change them and compile the apk back. But here is a little trick that I used when working with the images. I do my edits in photoshop. This works if you are just making color changes and not resizing or changing images. First open the decompiled .9.png. Next open a new blank image to match the size of the image you are using. Now on the original image highlight everything inside the black border. Cut that and paste it in the blank one. Make your color changes and copy the modified image, make sure you copy it just the same size it was originally. Paste that into the original image and save. If done correctly you should be done. That saved me a lot of headaches. Try compiling it and using it. If that doesn't work you need eclipse to compile the images. Which I am almost positive is the case.
Sent from my SPH-D710 using xda premium
I have eclipse set up and all. Not sure how to use it. Haven't got that far yet. Gonna do some Googling when I get home and may try your trick too. Thanks for the info.
Hey can Some one tell me where the open and close applications animations are found at I like the ones in unnamed rom and want to use them on another
Sent from my SPH-D710 using XDA App
You can google xUltimate he makes a utility that will properly compile .9 png's after you patch them with draw9patch (included in the newest Android SDK)
scarmon25 said:
I have eclipse set up and all. Not sure how to use it. Haven't got that far yet. Gonna do some Googling when I get home and may try your trick too. Thanks for the info.
Click to expand...
Click to collapse
Maybe check out APKTOOL and APK manager here on XDA. I see that a majority of themers use these tools and say its the easiest way to decompile, compile and edit apk's. I've tried it, but I must not have gotten something set up right, because I can never get anything recompiled. Even when I try to use a stock rom and pull the apk's I still can't get it to recompile, so I'm sure something is not set up right. YouTube is a great place to learn as well. I've watched a lot of videos on this stuff, but I always get caught up when it comes to editing the XML'S. If I could find an easy way to edit the XML files I would be set. Good luck to you on learning more.
APK Manager and APK Tool are the ****....and yes, you can edit certain PNGs and recompile them....a very select amount.
You should search .9 pngs there are A LOT of threads on how to make and edit these. They go into great detail step by step... Better than I can explain it... Good luck sir... Welcome to the fustrating world of theming... It can be a dark abyss... Prepare yourself...
I just spent a few hours trying (decompiling, extracting, etc), but I suck. I tried blacking out the .png and replacing it, but it doesn't look very good. I'm sure somebody out there hates contact pics as much as me
Anyone know of a way to remove the contact picture and set the text to the left side of the screen. Check out the pic if you don't understand. Thanks in advance.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First and final bump. Maybe I can get some night-time love for my idea.
I'm gonna try again tomorrow, but I can NEVER re-compile apps. I'll figure it out though.
i would be into this idea, too!
I like this idea.
Sent from my Galaxy Nexus using xda premium
Would be awesome.. I dont sync my contacts pictures anyways so..
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
artvandelay440 said:
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
Click to expand...
Click to collapse
Thank you for your mods. Could you please explain the process by which you removed the 'ic_contact_picture.png' from both the message list and the conversation frame. I searched through my decompiled mms.apk but couldn't find anything. Obviously it's in there somewhere. If it isn't to hard or time consuming, please let me know how to do it manually. I really like the color scheme I have currently and would like to keep it exactly the way it is, minus the contact pics.
Thank you again for your effort.
EDIT: Here's the Mms.apk I'm using. Got it from the amazing 'Black Exodus' theme by Nitroz. Maybe someone can take a whack at it.
http://www.mediafire.com/?4g43b8ac3x0b9jq
number3pencil said:
Thank you for your mods. Could you please explain the process by which you removed the 'ic_contact_picture.png' from both the message list and the conversation frame. I searched through my decompiled mms.apk but couldn't find anything. Obviously it's in there somewhere. If it isn't to hard or time consuming, please let me know how to do it manually. I really like the color scheme I have currently and would like to keep it exactly the way it is, minus the contact pics.
Thank you again for your effort.
Click to expand...
Click to collapse
You need to make three edits. In order to maintain code dependencies across the app, i didn't actually remove the icon, i just made it 1px by 1px. This way, it's still invisible, but doesn't break support in other areas.
In
message_list_item_recv.xml
message_list_item_send.xml
conversation_list_item.xml
in the <RelativeLayout> view, look for the ID android:id="@id/avatar" (line 6 in the sent/recv, and line 4 in conversation xml)
You need to use the following attributes under each 'text' hiearchy:
Code:
android:layout_height="1px" android:layout_width="1px"
Once each of the three .xml files has these listed in the correct spots, recompile.
artvandelay440 said:
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
Click to expand...
Click to collapse
This is what i want! Thank you!
artvandelay440 said:
You need to make three edits. In order to maintain code dependencies across the app, i didn't actually remove the icon, i just made it 1px by 1px. This way, it's still invisible, but doesn't break support in other areas.
In
message_list_item_recv.xml
message_list_item_send.xml
conversation_list_item.xml
in the <RelativeLayout> view, look for the ID android:id="@id/avatar" (line 6 in the sent/recv, and line 4 in conversation xml)
You need to use the following attributes under each 'text' hiearchy:
Code:
android:layout_height="1px" android:layout_width="1px"
Once each of the three .xml files has these listed in the correct spots, recompile.
Click to expand...
Click to collapse
THANK YOU SO VERY MUCH!!!!! I will try this right now. I'm not a coding noob, but it would have taken HOURS for me to figure this out.
hopefully I will be able to recompile using apk-multitool. For some reason the recompiling part always throws errors. THANKS AGAIN
No problem. Post the log if you get compile errors.
Sent from my Galaxy Nexus using xda premium
I got it working perfectly, thanks again. Two quick questions though. I know you will be able to answer them.
1) How would I remove the borders around the sent and recieved messages? I included a screenshot.
EDIT: Damn, I have looked everywhere. I figured the easiest way to to do this would be to just change the color of the border to all black (#000000), but there are two different colored borders and I can't find anything referencing them in message_list_item_... or in colors.xml
2) When I push Mms.apk to system/app it does overwrite the previous apk, but it doesn't show up in the app drawer. What I had to do to install my modded apk was to replace the Mms.apk in the flashable zip I use as a theme. Specifically black exodus. I'm sure there is a way to just quickly replace the Mms.apk without flashing. How do you do it?
Once I remove the borders I will upload the apk. I wouldn't care if you posted it in your thread. You don't even need to give me credit since you basically did everything .
Thanks again for ALL your help.
Remove borders:
in message send/recv xmls
in line 6ish i think, look for position="left_upper" and change to "left_middle". same thing for "right_upper" to "right_middle" in the other one.
-edit: as far as pushing mms, i don't use a theme, and i've always pushed system apps through adb. In theory, it should still work even with a theme applied, but I'm not sure why it wouldn't.
artvandelay440 said:
Remove borders:
in message send/recv xmls
in line 6ish i think, look for position="left_upper" and change to "left_middle". same thing for "right_upper" to "right_middle" in the other one.
-edit: as far as pushing mms, i don't use a theme, and i've always pushed system apps through adb. In theory, it should still work even with a theme applied, but I'm not sure why it wouldn't.
Click to expand...
Click to collapse
After pushing the app, do i reboot wipe cache or something? it just doesn't show up. And about the borders, thanks I'm working on it now.
number3pencil said:
After pushing the app, do i reboot wipe cache or something? it just doesn't show up. And about the borders, thanks I'm working on it now.
Click to expand...
Click to collapse
No it isn't necessary. For me, as soon as i push it through adb, it appears in the drawer and is ready to go. You might ask Nitroz as to why this isn't working with a theme overlay, since it's his theme.
Here's the APK. Thanks again for all your help, it is now themed perfectly!
http://www.mediafire.com/?t4dh3c3xf8hjk32
Download links
number3pencil said:
Here's the APK. Thanks again for all your help, it is now themed perfectly!
http://www.mediafire.com/?t4dh3c3xf8hjk32
Click to expand...
Click to collapse
Does anyone have these apk files, the download links are no longer working