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)

Yea, all the pngs and xmls are from the same ROM. I took that screenshot before I edited the bright_foreground_dark xml. The only other .xml I've edited was the progress_horizontal.xml. I don't know if there is code in there to alter text?
Which ROM, there has to be an XML calling for white text on what it thinks are dark buttons... just don't know which XML it'd be, but if I know which ROM I can at least look...

I have a D2G running fission ROM. I ported thebowers BnB theme to it.


doesn't BnB have all black buttons?, which would call for white text? ...not sure if I've ever seen BnB showing white buttons?..maybe
I don't know anything about the D2, but maybe I'll look to see what I see in the ROM's framework-res
 
The fission site is a cartoon of sorts to get to the download page huh?...lmao...wow!!
 
I have been trying to edit stat_sys_battery.xml so that I can display 10% battery increments instead of 20% on the factory 2.3.340 framework-res.apk. I copied the lines identical to ones when I found from when I decompiled DarkSlide v4.2. I also added the necessary values to public.xml in the values folder copied from DarkSlide also.Although when I try to copy the new resources.arsc and modded xml to the orignal framework and install it via upate.zip I bootloop. Should I just be installing my unsigned.framework-res.apk, renamed obviously to framework-res.apk or is copying the modded files to the original framework the proper thing to do?

Any help is greatly appreciated!

Sent from my DROIDX using Tapatalk
 
Yea, all the pngs and xmls are from the same ROM. I took that screenshot before I edited the bright_foreground_dark xml. The only other .xml I've edited was the progress_horizontal.xml. I don't know if there is code in there to alter text?
Which ROM, there has to be an XML calling for white text on what it thinks are dark buttons... just don't know which XML it'd be, but if I know which ROM I can at least look...

I have a D2G running fission ROM. I ported thebowers BnB theme to it.
whoa...almost got loas trying to get to the actual download link...lol... that site is kinda rough to navigate thru...

anyways, I can see right off the bat that certain buttons are opposite in the Fission framework compared to the BnB framework... meaning like for example, the btn_default_normal.9.png is a black button in the Fission ROM, but in BnB it's white... therein lyes the problem.... so you'd need to go thru each framework and compare to make sure that the black buttons in your BnB port are replacing black buttons...

I hope I made sense... you can't change the text XML for the system because you might not have all the buttons inverted, and to isolate each buttons XML to see if an edit would override the system xml calling that buttons color might drive you insane...:p
 
Which ROM, there has to be an XML calling for white text on what it thinks are dark buttons... just don't know which XML it'd be, but if I know which ROM I can at least look...

I have a D2G running fission ROM. I ported thebowers BnB theme to it.
whoa...almost got loas trying to get to the actual download link...lol... that site is kinda rough to navigate thru...

anyways, I can see right off the bat that certain buttons are opposite in the Fission framework compared to the BnB framework... meaning like for example, the btn_default_normal.9.png is a black button in the Fission ROM, but in BnB it's white... therein lyes the problem.... so you'd need to go thru each framework and compare to make sure that the black buttons in your BnB port are replacing black buttons...

I hope I made sense... you can't change the text XML for the system because you might not have all the buttons inverted, and to isolate each buttons XML to see if an edit would override the system xml calling that buttons color might drive you insane...:p

I don't wanna sound like a jerk or anything lol but I'm looking at the stock fission framework and btn_default_normal.9.png is gray. The weird thing is that when I look at the buttons on the stock ROM the text in them is black but when I apply the theme, the text is white, eventhough all I'm doing is pretty much copying and pasting pngs...
 
I went ahead and just made the buttons black. It looks a lot better. I just thought there was a way to change the text color for system wide buttons since all the buttons I remember seeing in my phone look the same lol.
 
Not sure if this will help bit there are only a few #ffffff codes and a couple light gray inside values/colors so maybe change each of those to a different color and navigate around to see what affects what... that's what i did to isolate the system text color....

Sent from my Droid using DroidForums App
 
Here's the two images I mentioned... thus why the white text gets called up...
 
Not sure if this will help bit there are only a few #ffffff codes and a couple light gray inside values/colors so maybe change each of those to a different color and navigate around to see what affects what... that's what i did to isolate the system text color....

Sent from my Droid using DroidForums App

Thank you sir, I will try that.
 
I went ahead and just made the buttons black. It looks a lot better. I just thought there was a way to change the text color for system wide buttons since all the buttons I remember seeing in my phone look the same lol.
You see gray and I can say it has a tint of gray, can't verify why it would have black text on that 'dark' button... but regardless, if you make a system wide xml edit to have change white to ff000000, then you'll almost asuredly run into a black on black issue somehwere down the line...
and there's no guarantee that you'd be ab;e to isolate and change each button call up's text color, because it probably would be pointiong to that colors.xml for it color...

and no you weren't coming acroos like a jerk, maybe a little friizled because I made fun of the Fission website...lol:p... but I wish I had a better answer than what you did yourself in turning those buttons black instead...that's what BnB is more known for anyways
 
Not sure if this will help bit there are only a few #ffffff codes and a couple light gray inside values/colors so maybe change each of those to a different color and navigate around to see what affects what... that's what i did to isolate the system text color....

Sent from my Droid using DroidForums App
The system text color codes are in the colors.xml, and it ain't gonna help if the xml regarding the certain buttons 'thinks' it is calling up text to fill a dark button...
 
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...
 
Not sure if this will help bit there are only a few #ffffff codes and a couple light gray inside values/colors so maybe change each of those to a different color and navigate around to see what affects what... that's what i did to isolate the system text color....

Sent from my Droid using DroidForums App
The system text color codes are in the colors.xml, and it ain't gonna help if the xml regarding the certain buttons 'thinks' it is calling up text to fill a dark button...

But is there really different types of buttons throughout the system? I mean I'm trying to click on everything that would have a button for example in the sound settings, and they all look the same.
 
Back
Top