I've tried a search and I only get confusing information with no useful stuff for my simple brain. Can someone point me in the direction of a guide or somewhere to find the information that will tell me how to do this? The main reason I'm looking to do this is to change things like text colour on some areas because if I change the images to be dark the black text will be unreadable.
Here is the thread on xml edits http://forum.xda-developers.com/showthread.php?t=479019
and AXMLPrinter to put them in readable form http://forum.xda-developers.com/showthread.php?t=514412
Some things are in the sevices.jar and need to be done using smali and basmali
you can use the colorChange.jar to do them http://forum.xda-developers.com/showthread.php?t=535630&highlight=colorchange or learn to do them http://forum.xda-developers.com/showthread.php?t=537779&highlight=axmlprinter
I think the colour changing java app will do it! Thanks for the information If all else fails I suppose I can theme the rest and plead for someone to do the text colour for me.
Related
So, many know that I have been fighting with the xmls for weeks now with no success and while that is still mainly true there has been some progress thanks to JesusFreke who showed me how to understand the binary code a bit more and how to Hex Edit.
For right now, we cannot compile our own xmls for any of T-mobile's builds because we don't have the source for their builds. I tried and tried but to no avail.
However, With JesusFreke's help, I was able to do a few things.
I was able to change the date, and the notification text on the statusbar to any color I wanted. Sadly, the time will remain black because it is hard coded in and is not in those xmls.
I have also been able to change the color of the pull up menu background and make it more transparent, as well as totally transparent.
I have been able to make the t-mobile logo totally invisible in the notification menu
I tried making the keylock background transparent, which worked but it doesn't show the desktop instead it shows.....A black screen, go figure...
There are many other things that I can change, but....I won't continue to work on it.
As of tonight, I am moving to cupcake and plan on customizing that to my needs as it will be much easier.....
Please let me know if anyone has any questions.
Stericson
Very interesting stuff for sure. Thanks for keeping us updated!
I actually do have one question: How do I download the old source? I have the cupcake build, but since that's been delayed, and will probably be multiple mini-releases, I'd like the current source.
Also, if you have the time, once I get the current source, I'd like to edit some of those. The few feature you listed can help with the immersion of themes and such. If not, then oh well. Keep up the good work.
Go Stericson! Keep kicking the crap out of those xmls and lemme know how I can help.
Bro i need some of those .xml you made edits to so i can check it out. Great job keep doing your thing.
specifically, I edited the binary version of the xmls using a hex editor. All you can really do is change colors and stuff. unless your a master hex editor, which I am not.
Using sliding panels NRG Topbar on 6.5 NRG. I want to customize a couple of things if someone could help me that would be great...
1) Carrier text
I have tmobile and it says "Get More..." for the carrier at the top of the clock. Can I change this to custom text?
2) I'd like to change the panels to a blue color instead of transparent; I've seen screenshots with this.
3) I'd like to change the font of the clock.
I've done 1 and 2 before on 6.1 but I did not back it up and I can't remember how I did it... I think it used MortScript but I'm not sure....
I did my best to search the forums but I couldn't find a solution to my problem! Sorry if this is a repeat!
Thanks.
thunderwolf333 said:
Using sliding panels NRG Topbar on 6.5 NRG. I want to customize a couple of things if someone could help me that would be great...
1) Carrier text
I have tmobile and it says "Get More..." for the carrier at the top of the clock. Can I change this to custom text?
2) I'd like to change the panels to a blue color instead of transparent; I've seen screenshots with this.
3) I'd like to change the font of the clock.
I've done 1 and 2 before on 6.1 but I did not back it up and I can't remember how I did it... I think it used MortScript but I'm not sure....
I did my best to search the forums but I couldn't find a solution to my problem! Sorry if this is a repeat!
Thanks.
Click to expand...
Click to collapse
Hey...all of it looks DO-ABLE, not necessarily Easy, but DO-ABLE.
For #1, I believe that the Carrier text is located in a res.dll or other dll file...so that is a toughie, but I dont know how to change the carrier names exactly. If you really want to, go into the CPR file and COMMENT OUT (using <-- and -->) the part that deals with the text for the carrier name...then replace it with a new piece of XML, practcally the EXACT SAME except, name it a different ID (like Text2) or something. Then go into the registry (HKLM/Software/Microsoft/Chome/CClock) and add a string there...make its name the same as in the CPR, and make its Value TMOBILE....THAT SHOULD WORK, but I am no expert at that, so MAKE SURE TO BACKUP!!!!
For #2 TO make the panels Blue, you are going to have to get BronzeRes.dll from the Windows Directory, open it with PE Explorer or similar DLL resource editing tool. Then replace the resource that is the transparent panel background with one of your liking...there may be premade ones out there already, I am not sure...but searching may help (although you have already searched)...
For #3 I think..EMPHASIS ON I THINK... you need to take your own font that you want, put it along with the other fonts (in the Windows Directory)...somehow you have to sign it for the Device (that I don't know) so that it will recognize its existance, then you have to edit the CPR file...so that where it has the TEXT data for the TIME, you edit the name of the Font Class corresponding to your font, and how it is registered to the phone....
For all of these solutions, i am pretty sure they SHOULD work, but then again, i am no expert with this phone (yet)...but good luck...remember to modify with SAFETY (backup backup backup!!!)
everything that your asking can be done right from your .cpr. lots of people have asked the same thing be for, it's just the matter of typing just the right words into the search engine. try looking at this.
http://forum.xda-developers.com/showthread.php?t=529838
as for the carrier name, that's a little odd that it won't display the right one. maybe try "connection setup" to see if that helps.
Cyclonezephyrxz7 said:
remember to modify with SAFETY (backup backup backup!!!)
Click to expand...
Click to collapse
yes, always do this. i have backups for every rom that comes out cause not every rom is the same. even if it's by the same cooker.
Hi,
I am new to android development so sorry if this question has a really obvious answer. I am hoping to make a game for the platform but to start with I have just tried to make a basic layout of 4 buttons to move in different directions and then have a background and an image in front which will be my sprite and move across the screen depending on what button is pressed.
At the moment I have created two views. One via the main xml document and the other through the java code itself. The java code one contains the background and image to be drawn and the main.xml contains the buttons.
At the moment I have my code set up like this:
this.setContentView(R.layout.main); <<<<<<<<<< xml
this.setContentView(this.myTestView); <<<<<<<<<<<<<< java
I am aware that I am basically setting one and then setting the other over the top of it and this means that only one of these views will appear. Does anyone know of a way I can use these views in conjunction so that both the images frm the java file and the layout from the xml can both be used?
Cheers for any help.
ExO
As far as I know you cannot do this. By calling setContentView you are overwriting the object which held the content previously.
Once the view is set you can add items in code after this call.
Why do you not have all the elements in the xml?
aw ok, i wasnt sure if it was possible or not. The reason I did it like this was just because I'm still learning to use both languages. Aswell as that I am using droiddraw to generate my xml and couldnt see an option within that to add images etc. Cheers for the reply .
Hello GUIse,
I am sort of new to theme porting, I have ported 2 themes from the SGS (Gingerbread Theme & Black Android Theme by Pele) the Gingerbread Theme ported fine with no issues, on the other hand, the Black Android Theme went across fine but there was an issue with the notification area, the "clear" button to clear all notifications has gone the incorrect colour (The button itself not the text) I was wondering, where is this button based so I can change the colour?
I presumed it was on Framework-res.apk but found nothing.
I heard you have to edit the XML settings but was unsure which XML it was as there are plenty.
Second Question: What program do you use to edit XML files? I used notepad and it came up with mumbo jumbo.
Thanks in advance, I appreciate any help.
Everyone has to start somewhere, but if you do please show some self-initiative and search a bit for yourself. There are tons of topics on how to start on advanced themeing. Here's one: http://forum.xda-developers.com/showthread.php?t=916814
To answer your second question, you can use notepad++ although i use UltraEdit.
Notepad may work but you have to decompile the apk to view the xml correctly (you may already know this). As far as the clear button goes, ive done this before ages ago but cant remember, ill try and dig out the info unless someone gets there first.
I can tell you where to find one thing thats totally unrelated but you could use it as a test : to change the volume bar you have to edit progress_horizontal.xml which is within framework-res.apk/res/drawable/
Hope some of this helps.
cTrox said:
Everyone has to start somewhere, but if you do please show some self-initiative and search a bit for yourself. There are tons of topics on how to start on advanced themeing. Here's one: http://forum.xda-developers.com/showthread.php?t=916814
Click to expand...
Click to collapse
Just so you know, I did try search initially but obviously not hard enough. I wouldn't of posted anything if I didn't know what to look for.
Thanks for linking me to that thread.
I went to the trouble to do this so i figured that I may as well post it up for the rest to see. Hopefully it helps someone. Basically the link below will take you to a website and each colored bar is the hex color code from the XML file in twframerwork-res.apk/res/values/colors.xml in order starting with
Code:
<color name="tw_color001">#ffebebeb</color>
and then just continuing down in order. Hope this helps someone at least... Some of those Blues look awfully familiar to some text I have been trying to change the color to in TouchWizCalendar.apk
Check it out
Pixie is a program that you don't actually install but just run from where you download it to. It is great for colors. You can use the program, in three different ways to find out colors codes, and visualize the, just check it out, may help you.
http://www.nattyware.com/pixie.php
What about Widgets? If yes....where can I find in what file
Sent from my SGH-T989 using xda premium