So I spent the better part of yesterday learning to use VTS try to make a useable version of a keyboard I found in the EVO 4g LTE forums. After I scaled the images to the proper size using gimp and changing the colors xml I tried to recompile and that's where the $#!t hit the fan. I got tons of errors for the .PNG files about pixels and transparency and then it listed a lot errors pointing to the public xml file about not finding the buttons. If anyone knows a better way to convert a keyboard from xdpi to hdpi that would be greatly appreciated.
Sent from my HTC Droid Incredible 2 using Tapatalk 2
Related
Hi, it's just that i want to change the font colour of my rom (it's still is in beta mode and i haven't post it, but it'll soon come). My rom is based on the framework of the nexus s and its systemui.apk so everything is the same, but when im at any place and i press the button left to the home button, and it displays the extra options, the extra options are in the same colour as the font (black) and i can't see it. I would just copy the xml files on the nexus s framework (i suppose it's located there), but its far better if i learn how to change it myself. I'm a bit noob at rom cooking, and i know the basics, how to edit the framework, edditing apk's appearance, cooking it, making it into a flasheable zip, but the thing i don't know is how to this.
Any help is appreciated. Thanks
If I'correct then in twframework in /res/values should be xml file color.xml and in there should be color hex code with most colors used in theme or in /res/drawable is quite few xml files for some menus. You edit xml with some better editor. Hope this can jelp a little rrst will theme modders add
Sent from my GT-I9000 using XDA App
00.ante said:
If I'correct then in twframework in /res/values should be xml file color.xml and in there should be color hex code with most colors used in theme or in /res/drawable is quite few xml files for some menus. You edit xml with some better editor. Hope this can jelp a little rrst will theme modders add
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Thanks a lot
Going to try it tomorrow, will post results
No success...
http://forum.xda-developers.com/showthread.php?p=9664604#post9664604
Hi there I have just got my SGSII
i've been able to root it and install TW4.5 and pretty much have the device exactly how I want it with just one gripe
The drop down of the notification bar is way too dark especially for notifications with black fonts.
Can anyone point me to any kind of guide or way of changing the the background graphic for this drop down?
Thanks in advance
Everything you'll ever need to know
forum.xda-developers.com/showthread.php?t=916814
dully79 said:
Everything you'll ever need to know
forum.xda-developers.com/showthread.php?t=916814
Click to expand...
Click to collapse
Hey man thans very much for the resources they helped me find what I needed.
however the methods of editing seemed very complex for my needs ....
Since I only wanted to change some of the png graphics slightly (just to lighten them up) I opened the framework-res.apk and the systemui.apk in winrar extracted the png's I wanted lightened them up with irfanview dropped them back in the still open apk in winrar and then copied the apk's back where the originals were (renaming the originals .bak first).
I didn't change any .odex or .jar files in any way and I have kept backups of all the originals just in case so I only have one question for you.
can you think of any reason my simple method, for graphics only, would have caused any harm?
it doesn't seem to have after a reboot it seems to have had the desired affect on the notfication bar (which was to make all notifications readable whether they had black or white fonts)
There are 2 kinds of PNG files. Ordinary PNG files can be edited without any problems, but to properly edit .9 png's, you need to decompile the apk first, make changes and then recompile.
To do that, you need to use apktool/apk manager.
Sent from my GT-I9100 using Tapatalk
sileshn said:
There are 2 kinds of PNG files. Ordinary PNG files can be edited without any problems, but to properly edit .9 png's, you need to decompile the apk first, make changes and then recompile.
To do that, you need to use apktool/apk manager.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
ok so if I have edited one of the .9.png and I think I might have done and simply dumped it back in the apk with winrar what harm might I have done and what symptoms might I see?
Sometimes you can get away with editing .9' s the way you have if the black border around the outside stays completely black, any slight discoloration and its force close city on a one way ticket courtesy of systemui.
It seems you my have gotten away with it......this time.
Thanks to everyone who has repsonded to me on this thread you have all been very helpful. This is a truely wonderful phone I cant believe how big a step up this is from my old SGS. I tired all sorts of custom roms and mods on that to get features on that, with this I have it pretty much exactly where I want it simply by rooting and installing a the custom Touchwiz 4.5 (I have other lauchers but find myself going back to that all the time)
So the only remaining thing was the fact that some notifications were in black and the backgrounds on the notification drop down were too dark to read some app's notifications in black with a simple glance so your help with finding the right pngs and files (systemui.apk and framework-res.apk) were very very helpful. Not sure if this was the simplest way to achieve what I needed but it worked so I am happy.
Thanks again one and all.
Can one of you guru's give a noob a hand and tell me what i'm doing wrong.
no matter what i do i can't seem to theme the status bar.
I've created a new statusbar_background.9.png (yes i know .9.pngs are odd)
but i can't seem to actually make the phone take the change.
everything else i try and change shows up with no problem.
i've tried everything i could think of but am sure i'm missing something.
this file (attached) seems to do what i want if i drop it in framework-res on my old phone. or systemui on my tablet.
there is a statusbar_background.9.png in systemui but ????
but on the touch even if i edit the .xml and call it as drawable both as a .9 and a normal .png and i can't seem to make the touch like the change. i don't get a FC i just see the standard black bar. if i just delete the png i do get a fc though so...
I've even tried with a solid red bar just to see if it was the transparency but no go.
is it calling a different statusbar_background from somewhere i just can't find?
Many thanks to the person who tells me how im an idiot
http://www.multiupload.com/YOGY8OQCIE (mirror same as attached)
Ahh yes the dreaded 9.PNG file... it drives us themers nuts... it takes special edit which a little more than I can explain here. Search edit 9.PNG and I think you will find threads that will explain it in depth... probably not the answer you wanted but there are people on xda who have explained it much better than could...
thanks i'll give it a few more shots. but i'm fairly certain i created the .9.png correctly as it works on a couple other devices. and all my other .9 edits seem to work as intended. just was wondering if it was possible that it really wasn't the statusbar_background.9.png in systemui.apk that themed the status bar by some chance. as it seemed to FC if i had an incorrectly made png, but boots fine just with no change if i use one i'm pretty sure works.
just wish some themer had skinned the statusbar at all so i'd know it was just me being a mooley
I'm wondering the same thing, as I've changed almost everything else to MIUI style status indicators just by swapping PNG's in the drawable-hdpi folders. Crysis21 uses an HTC style status bar in his SensatioN ROM, and I've downloaded it to search the files and still can't find where the hell the change is made.
Yea just seems to want to foil my every try. It should just be the status_bar.9.png in systemui and mine seems to work on my buddies international s2 but for some reason ........ Dunno it may take me a while but ill figure it out eventually. Unless some kind soul steps in and shows us the answer
fnut6969 said:
I'm wondering the same thing, as I've changed almost everything else to MIUI style status indicators just by swapping PNG's in the drawable-hdpi folders. Crysis21 uses an HTC style status bar in his SensatioN ROM, and I've downloaded it to search the files and still can't find where the hell the change is made.
Click to expand...
Click to collapse
Do you mind aharing what youve done already? Im running starburat rom and would love to get rid of the green gingerbread icons lol
Sent from my SPH-D710 using XDA App
Sorry about the format, I wasn't able to upload a zip for some reason, the attached file has all of the drawable-hdpi folder changes I've made. The work isn't my own, only some of the tweaks and proper naming, its from HTC, the MIUI devs, and the brilliant minds (obviously mine excluded) on XDA.
Thanks....gonna try and learn as well. You guys are mch better than i but we all start simewhere right
Sent from my SPH-D710 using XDA App
I'm trying to theme some images from mms.apk, stat_notify_sms.png, I've decompiled the apk using apktool and they come out .png some 9.png. I load it into photoshop this is what I get
http://i42.tinypic.com/35isq3t.jpg
In every tutorial I've read on editing 9.png's or png's from an apk they just say there's a simple black line on either side and to not touch them but this has them all around and there's extra white pixels there too that when colored and essentially going around the black borders on the sides it looks like there's a colored border around the image and the overall image just looks like crap after saving. The image comes out looking pixelated.
How do I fix this? obviously I'm not doing it right and I can't find an in-depth tutorial that wasn't written for someone who already knows what they're doing.
Its only 9.png's that have that border. It just marks up which parts of the image can be stretched and which can't. If the image size is changed to fit a different size space.
You dont need to decompile to change normal .png's in the apk's. Just unzip to get the images then drag and drop the modded images into the apk with winrar etc..
Are your png's still bad if you open them with gimp?
Sent from Mobile..
Welp I just downloaded GIMP and it opens up the png without all the black borders so now I can edit them just fine. I always use photoshop and I wish it would have worked in it but this will have to do. Thank you.
no problem
when i used to theme my desire, photoshop used to do some strange things to my png's. gimp or paintshop pro work fine though.
dev/null/ said:
Welp I just downloaded GIMP and it opens up the png without all the black borders so now I can edit them just fine. I always use photoshop and I wish it would have worked in it but this will have to do. Thank you.
Click to expand...
Click to collapse
If you decompile and edit .9 pngs, you need to run them through draw9patch before recompiling, else they will look rubbish when stretched. draw9patch is included in the sdk.
So i have successfully managed to edit all images in HTC_IME but what im after is changing the highlight colour of the keys pressed. I found the colors.xml in res/values
I did the edits (changed the hex colour code) for
color name="text_inline_selection">#ffff00ff</color>
and also
color name="default_ime_highlight">#ffff00ff</color>
saved the file recompiled and pushed back to phone all the png's and 9.png's had successfully changed but the colour remained the same HTC GREEN!!
Can anyone tell me what im doing wrong here
Thanks
Any solution?
Sent from my HTC One X using XDA Premium HD app
No as far as i know( not so much on this topic ) this should work...