Help changing colors for themes - Verizon Samsung Galaxy S 4

I have created some colored themes for Empty Galaxy ROM. You can see them here.
The main problem I have is when I try to change the color of the pop-up/toast notifications. Although I am only changing the colors of the png files, the end result is completely wrong. See here.
This page explains how to do what I want by editing/creating a xml file...but I just don't understand it, or where to even find and place the xml file. I know just enough to be dangerous
If anyone can help explain this to me, it'd be much appreciated.
Thanks,

Related

How to Theme?

So I have been reading a few theming guides but haven't been able to really understand them. It looks like with KB1, there is nothing but .xml files in the drawable folder. Am I only needing to edit these .xml's? Or is there somewhere I am not finding the .png's?
If anyone knows how to create custom themes please let me know, or direct me to a guide that will give me more information specifically for the Vibrant.
Strericsons guide is good, but it is old and outdated.
http://forum.xda-developers.com/showthread.php?t=667951 this guide is good too but I there aren't any theme files to start off with.
Any help will be appreciated, thanks!
I also plan on sharing the themes I create. They will be good
jzero88 said:
So I have been reading a few theming guides but haven't been able to really understand them. It looks like with KB1, there is nothing but .xml files in the drawable folder. Am I only needing to edit these .xml's? Or is there somewhere I am not finding the .png's?
If anyone knows how to create custom themes please let me know, or direct me to a guide that will give me more information specifically for the Vibrant.
Strericsons guide is good, but it is old and outdated.
http://forum.xda-developers.com/showthread.php?t=667951 this guide is good too but I there aren't any theme files to start off with.
Any help will be appreciated, thanks!
I also plan on sharing the themes I create. They will be good
Click to expand...
Click to collapse
The great majority of the .pngs are in the drawable-hdpi or drawable-hdpi-v4 folders.
As for theming in general, take a look at this: http://forum.xda-developers.com/showthread.php?t=916814
Also, I wouldn't call Stericsons guide, or anyone else's for that matter, outdated. There haven't exactly been major changes in the structure of APKs, so any guide that was applicable before should still be applicable.
Ok great thanks for the info. I didn't mean necessarily outdated, but the methods might have a few changes pertaining to them. I will take a look at that link you provided!
uhh.. I'm certain if I understand you correctly. You unzip one of KB1 Roms. Under \system\framework\, some basic files you need to focus is framework-res.apk, twframwork-res.apk, and services.jar. You have to extract these apks to see the corresponding pngs.
Here's an excellent REF from Master himeself:
http://forum.xda-developers.com/showthread.php?t=940692&highlight=apk+manager
xxxman999 said:
uhh.. I'm certain if I understand you correctly. You unzip one of KB1 Roms. Under \system\framework\, some basic files you need to focus is framework-res.apk, twframwork-res.apk, and services.jar. You have to extract these apks to see the corresponding pngs.
Here's an excellent REF from Master himeself:
http://forum.xda-developers.com/showthread.php?t=940692&highlight=apk+manager
Click to expand...
Click to collapse
Awsome! Thanks for this info, I remember seeing this but don't remember where, it was late at night. This is exactly what I needed!
Thanks
jzero88 said:
Awsome! Thanks for this info, I remember seeing this but don't remember where, it was late at night. This is exactly what I needed!
Thanks
Click to expand...
Click to collapse
I just want to mention that, while I don't want to knock his guide, if you have any real interest in theming, it's best to learn how to properly decompile and compile apks, not simply unzip them. His method is fine for changing out a few pngs, though.
MWBehr said:
I just want to mention that, while I don't want to knock his guide, if you have any real interest in theming, it's best to learn how to properly decompile and compile apks, not simply unzip them. His method is fine for changing out a few pngs, though.
Click to expand...
Click to collapse
Yeah definitely. I am just looking on getting my feet wet for now, edit a few simple things to get an idea of how its done. If I want to fully edit a ROM I'm definitely going to get under the hood and take a look
So being able to change colors of some status bar .png's has been successful. What I did was basically simple. I took an already modified battery stat update theme since I wanted to keep the settings from it (KA7-KB1-circ-ab-col-pm.zip) and modified the .png's from that. Added them back to the zip, and flashed. Did not need to resign at all. Took two minutes
Was able to edit the status bar color, but couldn't find the .png's for the pull down background color.
jzero88 said:
So being able to change colors of some status bar .png's has been successful. What I did was basically simple. I took an already modified battery stat update theme since I wanted to keep the settings from it (KA7-KB1-circ-ab-col-pm.zip) and modified the .png's from that. Added them back to the zip, and flashed. Did not need to resign at all. Took two minutes
Was able to edit the status bar color, but couldn't find the .png's for the pull down background color.
Click to expand...
Click to collapse
You'll never resign a framework no matter what you do. The background is actually in twframework-res.apk

[Q] Trying to change colour values in TouchWiz launcher...

As the title says.....
Im trying to change some colour values in touchwiz...(one in particular)
The overall aim is to hide the numbers that appear on the page indicator, just need to make them transparent.
Ive found numerous values for this that and the next thing, just cannot seem to find the one I need.
Im beginning to think its a generic value which would affect other items of text if I edit it. Theres a possible candidate in the pageindicator.smali file but my knowledge of smali is pretty much non existent atm.....
Does anyone have any info that could help me with this little problem?
Tearing my hair out here....
Thanks in advance...

gray background dialer

Hello all, I would like to ask a question on dialer streakdroid 1.9. are
managed to make my Contacts.apk transparent by simply adding
theme.wallpaper styles.xml in the background of my dialer but continues to be increasingly
gray. how can I do to make it transparent?. thanks
custom dialer background
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
chrisrotolo said:
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
Click to expand...
Click to collapse
"Customized" is not a word I'd choose to use when describing the horrible dialer. Hope someday we can improve it. I really think the dialer is the worst part of the UI.
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
chrisrotolo said:
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
Click to expand...
Click to collapse
+1
I think the EOL is only USA. But I don't think the dell dev team cares too much about us
Brainstorming: Reference for anyone else trying to find this..
the dialer background is not a .png, most images are .9's I pretty sure the background is not a .9.png. There is only one .png close to the color and Ive already tried changing that one.
It could be a color in color.xml, they could have coded it as android:color, but if they did that it would likely be a solid color such as black or transparent, and would have to rely on framework-res. More than likely they would have made their own color in colors.xml, since there is only a dozen or so, at least 2 of which are almost identical greys, I have tried changing these colors to black with no luck.
Ive tried changing almost every .xml refernce I could find to a drawable window/background, etc. to android:color"black" , Theme.Black or 000000,
It could be in .smali, Is where I will dig next, I have tried checking a few of the codes I found in there, they seem to be based on a deep purple?
this is just reference use to help others who may search, wish me luck!!
spelling error found DialtactsActivity.smali line 205 says: const-string v3, "Dailtacts" ,yeah wonder if this why dialtacts theme doesnt theme completly.
some progress!
I fixed the spelling mistake in DialtactsActivity.smali, though i dont /think/ this is what we see. I did change call_background.xml and secondary_call background.xml all parameters to android:color/black, I will keep experimenting, funny how in vertical only the right side of keypad is black,
Once we find the right string , we should then be able to create a custom style instead of just a solid color and use a custom background.png
edit: FOUND IT!, cant post screenie, out right now, should release something later and info. Sit tight everyone.
found it
right where its "should" be, contacts\res\layout-long-finger and res\layout-long-land-finger. the first is portrait, second is landscape. the file for both is twelve_key_dialer.xml. The first line:
LinearLayout androidrientation="vertical" android:id="@id/top" android:background="#ff000000"
just change the android:background="ffRRGGBB" to whatever 6 digit RGB/hex value you desire.
working on this now to call out a custom.png will likely get scaled like cr4p, but will give it a go.
If you dont have any .9.png errors decompiling, then you can recompile and flash it straight away.
If you use my phone&contacts theme, it wont compile because some of my .9.pngs must not be patched. So use stock to change, then after compiling extract the new .apk. If youre using my theme or whatever, then change my contacts.apk to contacts.zip, open my contacts.zip as an archive with 7zip, copy the 2 twelve_key_dialer.xml's, and close. Then in your stock framework where you changed the .xml's go to resources.arsc and right click use 7zip to add to archive... browse and select your contacts.zip with new .xml's. Its important that archive method is .zip and compression must be set to store. make sure update mode is: add and replace files. Then rename back to contacts.apk and place in your update.zip and flash!
I plan on making a guide and probably a stock framework with a custom.png for everyone to use.

[Q] Help Editing XML

I'm basically wanting to edit the background color and font color of a Notepad apk. I'm pretty adept at swapping out png's and re-signing and all that, but I know nothing about XML. There isn't a background image inside the apk, so I assume the color is dictated by one of the XML files inside. Anyone feel like helping me out? Or any skilled XML editors feel like taking a few minutes and just knocking it our for me? I can't imagine it's very hard if you actually know what you're doing. I just don't :/
http://www.4shared.com/android/wy7ErO3T/complattomnotepad-1.html

[Q] Suggestion Background in LatinIME?

Hey,
I want to theme the Stock android keyboard (4.0 and 4.1 which is.. at least of the theming and images and colors and so on.. the same).
I ahve done everything but one thing.
I want to make it completely black and i have succeeded so far.
But i cant find the file that gives the color for the background of the suggestion field (where the suggested words are shown in). That field is still grey....
Does anyone know, in which file that color is given?
Thanks in advance!
EDIT:
// NEVERMIND... found it.. it´s just another 9.png ...
I must have been blind..
Thread can be deleted.

Categories

Resources