What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

So you want to edit xml's or more... an ADB. APK Manager How-To (Basics)

Oh and also, if hex code for red is ffff0000 when inputting it in the xml it should be 0000ffff correct?
you're kinda mixing up what you've heard about hex editting to straght XML codes... in XMLs they are as they are... ffffoooo is what you'd put for red...
 
Here's the two images I mentioned... thus why the white text gets called up...

This is the one I see in the stock fission framework. Stock fission also has black text on the buttons.

Well maybe I got the wrong ROM??... D2_Fission_2.5.7_BE

and there'd be no way for the ROM's XML to change itself from black text to white text for a particular button... that just seems weird...

Yea I think that's the one for the D2. I have the D2G.
 
This is the one I see in the stock fission framework. Stock fission also has black text on the buttons.

Well maybe I got the wrong ROM??... D2_Fission_2.5.7_BE

and there'd be no way for the ROM's XML to change itself from black text to white text for a particular button... that just seems weird...

Yea I think that's the one for the D2. I have the D2G.

I see, my bad...but I don't see how the xml would call up a black text for that .9.png one time and then white the next... anyways, I think your best bet is what you did, make those nuttons black...

but if you want red system wide I can give you the lines to change
 
Well maybe I got the wrong ROM??... D2_Fission_2.5.7_BE

and there'd be no way for the ROM's XML to change itself from black text to white text for a particular button... that just seems weird...

Yea I think that's the one for the D2. I have the D2G.

I see, my bad...but I don't see how the xml would call up a black text for that .9.png one time and then white the next... anyways, I think your best bet is what you did, make those nuttons black...

but if you want red system wide I can give you the lines to change

Yea please if you don't mind.
 
Well I figured it out, instead of trying to move things around I just renamed the unsignedframwork-res.apk to franework-res.apk and installed it via update.zip.

I had to add the values to stat_sys_battery.xml and to public.xml then recompile. Then in the keep folder delete resources.arsc and stat_sys_battery.xml and then continue.

Sent from my DROIDX using Tapatalk
 
So i've been trying to edit the colors.xml in Cyanbread.apk in CM7. Why, whenever i go to compile it, does the values folder completely disappear so that i can't delete the xml's i edited when it tells me to do so, and delete resources.arsc in the keep folder, then press any key to continue in the Script?

I'm getting so frustrated with this. I've been working on it for hrs a day, i've even compiled a whole theme chooser theme in eclipse successfully, with no errors, and the same ****ing thing happens, no values folder and i can't see it in theme chooser.

I've mastered .9.png's, but i'm about at wits end w/ xml's.
 
Last edited:
Powder... the values folder goes into the resources.arsc file so when u delete that you are essentially deleting values. I'm sorry if that wasn't clear and for giving you frustration.

Sent from my Droid using DroidForums App
 
Thx OPer for posting. the most recent APKManager version is the only one I've used- happy that the bugs weren't just me, and looking fwd to older ver.

Question: after a single xml edit, say the strings.xml (for examp), during recompiling, when it asks you to delete the resources file, that should be the only file to delete in the "keep" folder, right? (since you can't really navigate to the strings.xml in compiled state)?

Yes just the resources.arsc in those cases where you only editted an xml in the values folder...
What bugs have you experienced with APKMgr 4.9?? and you can always an older version of APKTool in that 4.9.... using 4.8 leaves you unable to control whather or not you want the -v in the drawable folder names..

How does this work? I was just recompliling a facebook apk and it added a second set of folders in drawables without all the -v4 tags so there was a drawable/hdpi and a drawable/hdpi-v4
 
Powder... the values folder goes into the resources.arsc file so when u delete that you are essentially deleting values. I'm sorry if that wasn't clear and for giving you frustration.

Sent from my Droid using DroidForums App

I don't even know what i'm doing wrong if you're saying that's supposed to happen. I've tried compiling in apk manager, i've tried compiling in eclipse, the whole cyanbread.apk, i've tried compiling the single xml in eclipse and dropping it into my update.zip.

All i want is to change the color of notification text. I'm probably just editing the wrong xml for all i know.
 
Last edited:
Back
Top