Hi, I try to change the fontcolor (-> image), but after testing i find out it was the color from "primary_text_light" at framework-res. If i change it, a huge load of other texts are changed too.
Is there any way for changing just a few of them?
Thanks, Weiti
Edit: Sorry, posted at wrong Forum. I cant move it, maybe a mod will do.
Related
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.
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
anaglich said:
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
Click to expand...
Click to collapse
u can... if u know how to decompile the framework and change sizes in the specific xml... its doable.
i never checked... but from what u saying the size is pre-set, at least i would think so cuz the status bar image is usually a png 9 image that gets stretched to the pre set size.
i dont have time to try and help u find it and/or much more... but decompliling the framework-res apk and looking at the xmls that have something to do with the status bar (they r named with "status_bar..." usually) should set u in the right direction atleast.
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
i've been making animations for the past 2 hours... so ill look real quick.. i'd bet the framework for u dont look much different when it comes to that... ill let u know where it is.
That would be amazing! Thanks again.
anaglich said:
That would be amazing! Thanks again.
Click to expand...
Click to collapse
ok... 180 would mean smaller things on the screen right?
anyways... i thought of something u can try without decompiling the apk.
do this.
pull the framework-res out from your /system/framework folder...
keep a backup just in case also.
then... open the apk with 7 zip and extract the "status_bar.xml" from the /res/layout folder.
then take the file u just pulled out and put it inside the res/layout-hdpi/ folder and overwrite the existing one.
that will give u lower sizes/values and such...
now... im not sure if that would help or make it worse... but if u feel like trying it.. knock yourself out... just keep a backup of the original framework so that u can revert.
btw... if it will work... than u would want to basically do the same with the layout-land and layout-land-hdpi folders to take care of landscape also.
there are more file that i might need to move around and such... but if that will work for u... i might be on the right track to helping u do it without decompiling anything.
keep in mind that i never tried it... and i also dont know how the whole changing the dpi even looks like.... so until i really see it and try for myself... im just guessing here.
edit:
oops... just saw u want them bigger...
my bad.
igonre what i just said.
anyways... look inside res/layout-hdpi folder of the decompiled apk.... any files that has to do with "status_bar....xml" u can edit icons sizes and text sizes in it.
i dont have your framework res file and i cant really change things up for u without having it... not to mention that i will need to try different sizes until it looks right.
for me it is set to 38 pixels... so u might wanna go bigger.
i also saw that it basically determine the sizes by the actual icon size... so im not 100% sure here about what to do exactly cuz im obviously not using the same thing as u, so i cant test it out right.
anyways... i would assume it shouldn't be hard to do if u play with some value a little bit.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
the statusbar_background.png is the file you are looking for for your status bar and many files for your icons like(stat_sys_wifi_signal_1, stat_sys_wifi_signal_2, 3 , and 4 are all for your wifi signal. They are normal png files not .9.png files so they should not be streched. I dont know if changing the size would do anything for you but you can try. The Apk Manager 4.9 will help you with decompileing and recompileing you apks, here is the link you will find it at http://forum.xda-developers.com/showthread.php?t=695701 good luck and let us know if it works.
After a change has been made, is it as simple as copy and pasting on to my phone? I have a mac so I am unable to use the Apk Manager. Additionally, it appears every .xml file is in a code unknown to me, and is not editable by changing a figure as there are no numbers visible to change.
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
anaglich said:
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
Click to expand...
Click to collapse
I believe your problem with not being able to view/edit the xml's is because straight off the phone, they are binary xml files. If you want to edit them that way you will need a hex editor. Unfortunately, the only way that I know to decompile them is through APK manager. I realize you are on a mac so if you would like, I can decompile your apk and send it back to you.
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.
Alright so I am running coredroid 7.6, and I attempted to change the color of the notifications in the drop down of the status bar using UOT kitchen, every change I applied worked, except that one. Tried it a couple of times no luck. Then I searched on how to do it myself and found the XDA thread, followed the instructions, edited the XML files with a hex editor, and it changed the color, however I ended up with a weird loop, where I would go to my home screen for 30 seconds, and then the boot animation. Any advice on what I might be doing wrong , or another way to go about doing this would be great.
Edit, after reviewing the xml file status_bar_latest_event_content.xml the colors are changed correctly in the XML file, but not on the device, I don't get it, Is there somewhere else they must be changed as well that I am missing, I have been informed that this has become much more complicated on the newer sense ROMS and involves changing a lot more than just this, however I am still looking for someone who is willing to teach.
Still looking for some assistance
Does anyone know where to find and edit the buttons circled in the photo. I swapped so many PNG's from a Thunderbolt and MIUI Rom that I've kind of lost track of which ones these are.
But, since I've finally figured out how to edit .9.PNG files (and display all of the text) I'd llike to correct them. Thank you.
Edit: Everyone may kindly disregard my question, I figured out how to use the Drawpatch9 editor and and where theses files were located fixed my issue, thank you.