need help with theme issue - Samsung Galaxy Nexus

So ive been trying to make my own red theme and im having issues with a few items.
In the first pic, it is the blue bar in the phone screen. It is the selected screen indicator. The image is tab_selected_holo.9.png
when i simply change it from the stock blue to red, it makes the hole area around the current icon solid red.
The next one is the little blue circle at the bottom of the pull down menu. When edited from blue to red, it shows up all stretched out. That file is status_bar_close_on.9.png
what do i need to do differently?

To edit patch .9 images the apk needs to be decompiled and edited preserving the patches. There is an abundance of info through google on what patch .9 images are and how to edit them.
See here. http://forum.xda-developers.com/showthread.php?p=10965186
good day.

ahh yea well ill just leave it then. I cant decompile and compile any apk without getting errors no matter what apktool i use. thanks for the info tho.

Related

boot_robot_glow.png (a little help)

I need a little help with the robot glow image. I want the glow to be light grey like the file that i attached. Did i make the glow image right?
you need to make it an animation
im pretty sure google used about 10 different picure in that aniation
correct me if i wrong but thats what would make sense
Nope... the image is just anormal .png file that the phone witches between.
To get you grey glow you would still need the Droid in the image but with the added grey "glow" around it.
It basically faeds between the two images to create the effect.
Read the other threads on this and it might make more sense then.
Phil

Need help locating this png

I need help from the experts. I cannot find where this png is located that shows the volume changing and the status of a download. I want to change it from green to red to finish off my red incredible themed look.
Can someone point me to where I can change this? Thanks for your help.
craigmack said:
I need help from the experts. I cannot find where this png is located that shows the volume changing and the status of a download. I want to change it from green to red to finish off my red incredible themed look.
Can someone point me to where I can change this? Thanks for your help.
Click to expand...
Click to collapse
Its either in the framework.res or the htc.resources files.
Open the res folders and find the png that is just green highlights. Then edit all those to red, you probably need to do this anyway.
TNS201 said:
Its either in the framework.res or the htc.resources files.
Open the res folders and find the png that is just green highlights. Then edit all those to red, you probably need to do this anyway.
Click to expand...
Click to collapse
thats my problem i have extracted both of them and still no dice.
I'm having trouble finding those pngs too. I'm trying to find them in CM6 but they aren't in Framework from what I see. I thought they might be in settings but they aren't in there either.
been searching all around for this as well
found this:
http://www.droidforums.net/forum/droid-themes/60280-theming-guide-progress-bar.html
its actually not a png
the process is a bit involved, but it works. and once you figure out how to make it work, its not that complicated
i just did it and am going to upload a new version of my cm6 nightly theme

CM7 Status Bar Messed Up

Is it just me or is this a bug in the rom? I did do some systemui and framework editing but i cannot solve this. Basically the headers "ongoing" and "notifications" is given a space too large and the color is not showing up. also, beneath notifications where it is supposed to be transparent, it is not. I have played with the statusbar files but I may be mistaken. Can someone tell me what files corresponds to these issues?
I'm also having a problem with the contact pictures. There is a really ugly white frame around it. How can i get rid of this? Thanks for your help
From what I can see, you have selected a theme, either from the theme manager or from flashing a theme. If it was from the theme manager, revert to the system theme, I'm sure it will fix your notification issue. It's most likely a bug in the theme. Also, the area below the notifications on the stock system theme is 100% opaque, it's a google thing. It isn't transparent anymore. The framework editing you did probably further screwed up some UI stuff. Especially if you edited .9 png's without decompiling framework-res.apk, you could have some distorted images.
If selecting the system theme in the theme manager doesn't work, then wipe & reflash the ROM, whether it be RC1 or the latest nightly.
As for the contact frame, it's part of gingerbread. I'm sure it's a framework png in framework-res.apk somewhere, and if you can find it, and it doesn't have a .9 or a .9.png ending to the filename, then open it up in your favorite image editing tool and make the entire image transparent (as in raise the alpha of the layer). If it DOES have a .9 on the end of it, leave it alone, chances are, you'll only screw it up.
If I remember correctly, the contact frame, being a frame, is a .9 image, so you should probably live with it. If you REALLY know what you're doing, then you can decompile the apk, raise the alpha of the layer to 100% and redraw the .9patches with the draw9patch.bat included in the android sdk, or the executable draw9patch script in the linux version.
If you had no idea what I just said, then don't attempt it.
I actually am using system theme. I guess i can recheck all the statusbar files. They are the same ones I used in my cm 6.1 theme. I'll try searching for the frame in framework-res. I was looking in phone.apk and contacts.apk and couldn't find it.
edit: found the frame as quickcontact in framework-res but if i change that to be transparent, there will be a weird gap. the contact picture will not actually be larger.
So what happened was the 9patch file for the status bar headers didn't have any 9patch data. As for the background on the pulldown, i found out in cm7 it uses a new file "shade_bg" and that is working fine as well. Also the quickcontact frame was an easy fix. I just used transparent files for that and it doesnt show up and the contact pictures are bigger as well so everything is fine now
Ah, glad you found the culprit. Yeah, those 9patch pngs suck. I ran into major issues with them when making a theme for the stock rom, had to redo a lot of it after realizing I had to decompile the apk first.
Sent from my T-Mobile myTouch 3G Slide

Help with Mms theme. I am calling upon talent.

I'm looking to have this .9 png change to a slightly darker color. I have tried to do it with apktool and apk manager, but both always have errors when I decompile the Mms.apk and once I change the .9 png, I can never recompile it.
Here is the old .9
http://imageshack.us/photo/my-images/718/messageconversationothe.png/
and here is the .9 in the new color as I would like it to be, but has been messed up, because it wasn't "saved" properly in the true .9 format (in GIMP) and is now screwy on my app.
http://imageshack.us/photo/my-images/594/messageconversationothe.png/
If anyone could help me out with that, I'd be greatful!! Making it a darker blue, helps stand out the two parties in the convo.
oh, and if someone can find the .png to the background of the Mms app, it would be a lot nicer in BLACK. Would make the white bubble (us), and the Darker blue bubble (them) stand out much better then white!
First of all if ur just changing PNG and 9 files there is no need to decompile the apk. Pull the Res file out of the apk and make ur changes. Then put it back in the apk. I use 7zip to open my zips and apks.
Next if editing 9 files then u can edit them in gimp or Photoshop. Save them and then use draw9patch that is found in the tools folder of ur android sdk and then fix the 9 file. If u don't know how to use it just let me know ill explain. Its real easy. Then u can use a program called xultimate. Google it. There is a thread here on xda somewhere about it. It explains how to use it. It will recompile the 9 file and make it usable.
If ur editing XML or smali file that's cool. Decompile the apk and do ur edits. U can replace the individual PNG and 9 files afterwards. Just don't forget that the XML files r kept in the Res folder as well so don't replace them if uve already edited them.
jonfitch said:
I'm looking to have this .9 png change to a slightly darker color. I have tried to do it with apktool and apk manager, but both always have errors when I decompile the Mms.apk and once I change the .9 png, I can never recompile it.
Here is the old .9
http://imageshack.us/photo/my-images/718/messageconversationothe.png/
and here is the .9 in the new color as I would like it to be, but has been messed up, because it wasn't "saved" properly in the true .9 format (in GIMP) and is now screwy on my app.
http://imageshack.us/photo/my-images/594/messageconversationothe.png/
If anyone could help me out with that, I'd be greatful!! Making it a darker blue, helps stand out the two parties in the convo.
oh, and if someone can find the .png to the background of the Mms app, it would be a lot nicer in BLACK. Would make the white bubble (us), and the Darker blue bubble (them) stand out much better then white!
Click to expand...
Click to collapse
ok.... so ...when you de-compile .9 files expand the pic as far out as you can when your working on them . you will see black borders on them. do not break them black lines. that means colorizing them too. just isolate everything inside the black lines of the .9 png's and change the color. once againg make sure the black lines stay black.any mis hap, one pixel or oops into the black lines will throw errors. let me know if this helps . just pm me or just post on here . ill check back.
EDIT did you install your resorces for apktool?

[Q} Editing a non-png image

Hey fellow themers out there! So one of the things that's preventing me to call my theme complete is this gray background image on my themed MusicPlayerWT.apk (see picture). It shows up under the track info and only in landscape mode. I looked and looked for a png file that makes up that image but I just can't find it. There ain't many png files in the drawable folders for me to keep missing so it just leads to conclude that is not a png file I'm after. It's similar to the grey notification bar on the notifications dropdown in the SystemUI.apk or the white dialer background in the Phone.apk. They are not png files that you could swap or edit. I really want to either make it completely transparent or black. If anyone out there could give me a hand with this I would appreciate it (link to apk file below). Thx ahead.
mrrobc97 said:
Hey fellow themers out there! So one of the things that's preventing me to call my theme complete is this gray background image on my themed MusicPlayerWT.apk (see picture). It shows up under the track info and only in landscape mode. I looked and looked for a png file that makes up that image but I just can't find it. There ain't many png files in the drawable folders for me to keep missing so it just leads to conclude that is not a png file I'm after. It's similar to the grey notification bar on the notifications dropdown in the SystemUI.apk or the white dialer background in the Phone.apk. They are not png files that you could swap or edit. I really want to either make it completely transparent or black. If anyone out there could give me a hand with this I would appreciate it (link to apk file below). Thx ahead.
...
Click to expand...
Click to collapse
It's <color name="music_player_header_bg">#ff191919</color> in res/values-land/colors.xml my friend.
Tip: When you are looking for some background to change look what's on the foreground. In your case it took me 1 min to find it - first found that allshare button icon in drawables, then searched for the png name in /res -> found the button xml, then searched in layouts for the button xml name and found that head layout which has the background color I gave you. Simple, right...?
nijel8 said:
It's #ff191919 in res/values-land/colors.xml my friend.
Tip: When you are looking for some background to change look what's on the foreground. In your case it took me 1 min to find it - first found that allshare button icon in drawables, then searched for the png name in /res -> found the button xml, then searched in layouts for the button xml name and found that head layout which has the background color I gave you. Simple, right...?
Click to expand...
Click to collapse
Wow thx!:thumbup: It shows how much there is still to learn. Thx for the tip. I wish I could give u more thank yous but you know how that goes...
...anyways...why now do we have background images generated from xml files? Unless I'm mistaken, I don't remember running into that on previous Android releases.
Sent from my Blutiful Note3

Categories

Resources