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
Is it just me or is this a bug in the rom? I did do some systemui and framework editing but i cannot solve this. Basically the headers "ongoing" and "notifications" is given a space too large and the color is not showing up. also, beneath notifications where it is supposed to be transparent, it is not. I have played with the statusbar files but I may be mistaken. Can someone tell me what files corresponds to these issues?
I'm also having a problem with the contact pictures. There is a really ugly white frame around it. How can i get rid of this? Thanks for your help
From what I can see, you have selected a theme, either from the theme manager or from flashing a theme. If it was from the theme manager, revert to the system theme, I'm sure it will fix your notification issue. It's most likely a bug in the theme. Also, the area below the notifications on the stock system theme is 100% opaque, it's a google thing. It isn't transparent anymore. The framework editing you did probably further screwed up some UI stuff. Especially if you edited .9 png's without decompiling framework-res.apk, you could have some distorted images.
If selecting the system theme in the theme manager doesn't work, then wipe & reflash the ROM, whether it be RC1 or the latest nightly.
As for the contact frame, it's part of gingerbread. I'm sure it's a framework png in framework-res.apk somewhere, and if you can find it, and it doesn't have a .9 or a .9.png ending to the filename, then open it up in your favorite image editing tool and make the entire image transparent (as in raise the alpha of the layer). If it DOES have a .9 on the end of it, leave it alone, chances are, you'll only screw it up.
If I remember correctly, the contact frame, being a frame, is a .9 image, so you should probably live with it. If you REALLY know what you're doing, then you can decompile the apk, raise the alpha of the layer to 100% and redraw the .9patches with the draw9patch.bat included in the android sdk, or the executable draw9patch script in the linux version.
If you had no idea what I just said, then don't attempt it.
I actually am using system theme. I guess i can recheck all the statusbar files. They are the same ones I used in my cm 6.1 theme. I'll try searching for the frame in framework-res. I was looking in phone.apk and contacts.apk and couldn't find it.
edit: found the frame as quickcontact in framework-res but if i change that to be transparent, there will be a weird gap. the contact picture will not actually be larger.
So what happened was the 9patch file for the status bar headers didn't have any 9patch data. As for the background on the pulldown, i found out in cm7 it uses a new file "shade_bg" and that is working fine as well. Also the quickcontact frame was an easy fix. I just used transparent files for that and it doesnt show up and the contact pictures are bigger as well so everything is fine now
Ah, glad you found the culprit. Yeah, those 9patch pngs suck. I ran into major issues with them when making a theme for the stock rom, had to redo a lot of it after realizing I had to decompile the apk first.
Sent from my T-Mobile myTouch 3G Slide
I'm looking to have this .9 png change to a slightly darker color. I have tried to do it with apktool and apk manager, but both always have errors when I decompile the Mms.apk and once I change the .9 png, I can never recompile it.
Here is the old .9
http://imageshack.us/photo/my-images/718/messageconversationothe.png/
and here is the .9 in the new color as I would like it to be, but has been messed up, because it wasn't "saved" properly in the true .9 format (in GIMP) and is now screwy on my app.
http://imageshack.us/photo/my-images/594/messageconversationothe.png/
If anyone could help me out with that, I'd be greatful!! Making it a darker blue, helps stand out the two parties in the convo.
oh, and if someone can find the .png to the background of the Mms app, it would be a lot nicer in BLACK. Would make the white bubble (us), and the Darker blue bubble (them) stand out much better then white!
First of all if ur just changing PNG and 9 files there is no need to decompile the apk. Pull the Res file out of the apk and make ur changes. Then put it back in the apk. I use 7zip to open my zips and apks.
Next if editing 9 files then u can edit them in gimp or Photoshop. Save them and then use draw9patch that is found in the tools folder of ur android sdk and then fix the 9 file. If u don't know how to use it just let me know ill explain. Its real easy. Then u can use a program called xultimate. Google it. There is a thread here on xda somewhere about it. It explains how to use it. It will recompile the 9 file and make it usable.
If ur editing XML or smali file that's cool. Decompile the apk and do ur edits. U can replace the individual PNG and 9 files afterwards. Just don't forget that the XML files r kept in the Res folder as well so don't replace them if uve already edited them.
jonfitch said:
I'm looking to have this .9 png change to a slightly darker color. I have tried to do it with apktool and apk manager, but both always have errors when I decompile the Mms.apk and once I change the .9 png, I can never recompile it.
Here is the old .9
http://imageshack.us/photo/my-images/718/messageconversationothe.png/
and here is the .9 in the new color as I would like it to be, but has been messed up, because it wasn't "saved" properly in the true .9 format (in GIMP) and is now screwy on my app.
http://imageshack.us/photo/my-images/594/messageconversationothe.png/
If anyone could help me out with that, I'd be greatful!! Making it a darker blue, helps stand out the two parties in the convo.
oh, and if someone can find the .png to the background of the Mms app, it would be a lot nicer in BLACK. Would make the white bubble (us), and the Darker blue bubble (them) stand out much better then white!
Click to expand...
Click to collapse
ok.... so ...when you de-compile .9 files expand the pic as far out as you can when your working on them . you will see black borders on them. do not break them black lines. that means colorizing them too. just isolate everything inside the black lines of the .9 png's and change the color. once againg make sure the black lines stay black.any mis hap, one pixel or oops into the black lines will throw errors. let me know if this helps . just pm me or just post on here . ill check back.
EDIT did you install your resorces for apktool?
I want to theme my own ROM's for this phone such as AOKP. I just themed Nova Launcher to all purple. But, I want to be able to create a theme that I can flash in CWM and not just the whole ROM (either works.)
I themed Nova Launcher with GIMP, just by extracting the drawable folders, editing, exporting/replacing, then adding back to the archive and resaving.
Can anyone help me out on creating a theme so I can fully theme a ROM such as AOKP? Or even create one for the theme manager? I can already tell I would get addicted. If anyone wants to help i'd highly appreciate it, so I can slowly get into Android Development
I myself have been wanting to learn how to theme for the theme engine. Didn't really find any tutorials though. I'm pretty handy with Photoshop but know nothing about development. Would be very interested in learning about the theme engine used in CM9, AOKP, CNA, etc.
Just add ur apk to the app folder in this zip. This is a base zip that anyone can use (I took it from Overstew's theme, and erased all of his apps/framework items.)
Ascertion said:
Just add ur apk to the app folder in this zip. This is a base zip that anyone can use (I took it from Overstew's theme, and erased all of his apps/framework items.)
Click to expand...
Click to collapse
So I just edit the png's inside the folders I want edited, then move the whole folder into that folder, re-zip, and flash?
Ok so after playing with everything, I update all of the png's I wanted (which still left a lot of blue.. from AOKP). I then moved them all back into the framework-res.apk and moved that back into the archive. I got it to be flashable along with my .apks, but after I flashed it System UI kept force closing, eventually it stopped. I saw a lot of the stuff I themed was actually themed, but there was still a lot of stuff that wasn't. But what causes the force closes on System UI?
hrffd said:
Ok so after playing with everything, I update all of the png's I wanted (which still left a lot of blue.. from AOKP). I then moved them all back into the framework-res.apk and moved that back into the archive. I got it to be flashable along with my .apks, but after I flashed it System UI kept force closing, eventually it stopped. I saw a lot of the stuff I themed was actually themed, but there was still a lot of stuff that wasn't. But what causes the force closes on System UI?
Click to expand...
Click to collapse
If there's any missing pngs on the SystemUI's drawable-hdpi, it'll FC instantly because it cannot find the png require for a certain task. (For example, if you accidentally deleted a signal bar icon, it cannot display what is not there, so it'll FC.)
Ascertion said:
If there's any missing pngs on the SystemUI's drawable-hdpi, it'll FC instantly because it cannot find the png require for a certain task. (For example, if you accidentally deleted a signal bar icon, it cannot display what is not there, so it'll FC.)
Click to expand...
Click to collapse
Ok so, I don't have to change anything besides the framework-res.apk? Do I have to sign it or anything?
Also, I themed nova launcher successfully with just changing png's without any signing. But when I tried to theme Facebook, and then tried to install it, it just kept failing to install?
Sent from my SPH-D710 using XDA
hrffd said:
Ok so, I don't have to change anything besides the framework-res.apk? Do I have to sign it or anything?
Also, I themed nova launcher successfully with just changing png's without any signing. But when I tried to theme Facebook, and then tried to install it, it just kept failing to install?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Same with framework-res. Any images missing will make it fc.
You only need to resign market apps. System apps do not need to be resigned.
only thing that sucks about having a white e4gt with ics... is that the menus clash with the product color lol. not that its that big of an issue, but i came across this theme http://forum.xda-developers.com/showthread.php?t=1654546 and am guessing it takes a lot of work to apply a white theme similar to this?
i tried flashing the syk sky theme on my phone just to see what would apply, and the majority of it did; however, there were some conflicts as i expected.
is there any way i could use some of what has already been created with this theme to work with the e4gt correctly? if so, any direction/info would be appreciated.
hrffd said:
I want to theme my own ROM's for this phone such as AOKP. I just themed Nova Launcher to all purple. But, I want to be able to create a theme that I can flash in CWM and not just the whole ROM (either works.)
I themed Nova Launcher with GIMP, just by extracting the drawable folders, editing, exporting/replacing, then adding back to the archive and resaving.
Can anyone help me out on creating a theme so I can fully theme a ROM such as AOKP? Or even create one for the theme manager? I can already tell I would get addicted. If anyone wants to help i'd highly appreciate it, so I can slowly get into Android Development
Click to expand...
Click to collapse
Try here and see if it helps ............... http://forum.xda-developers.com/showthread.php?t=916814
renzyyy said:
only thing that sucks about having a white e4gt with ics... is that the menus clash with the product color lol. not that its that big of an issue, but i came across this theme http://forum.xda-developers.com/showthread.php?t=1654546 and am guessing it takes a lot of work to apply a white theme similar to this?
i tried flashing the syk sky theme on my phone just to see what would apply, and the majority of it did; however, there were some conflicts as i expected.
is there any way i could use some of what has already been created with this theme to work with the e4gt correctly? if so, any direction/info would be appreciated.
Click to expand...
Click to collapse
In case you didn't know, with samoled+ screens you want the most dark pixels as possible to save battery because a black pixel is completely off consuming no power. That being said, a white theme will just completely destroy your battery life...
Sent from my SPH-D710 using Tapatalk 2
yeah i know, but i wanted to give it a shot & see what kinda impact it would have first hand. i always have an extra battery on me to swap out haha
ill just deal with what i got and try one with transparency or something. thanks for the response.
This is the absolute best place to learn to theme
http://forum.xda-developers.com/showthread.php?t=1320891
xda moderator/recognised contributer
I post this minimal mod here though it is a very simple one, just because I think that many of us dislike the default icons of contacts that are infesting system wide secContacts.apk, IncallUi, messages, email and so on....
After flashing a touchwiz based rom, I usually replace those icons with the standard icon extracted from the stock google dialer (the gray one) which is by far more serious and not so creepy. It is obviously not difficult and does not even involve decompiling the apks, nor signing them (if they are system apps), but still it requires some time to replace the drawables inside the various apk files. I sometimes made my own VRthemes to replace such icons, but still even such way is not so easy and fast.
But I recently installed this wonderful xposed module, named resflux http://forum.xda-developers.com/xposed/modules/resflux-easy-android-theming-xposed-t2790940 by WisdomSky, which has got a huge potential and allows everyone to make a dummy proof theming without decompiling anything.
The credit obviously goes to WisdomSky, I just post a link https://www.dropbox.com/s/remjjpo7qo360hr/Resflux.zip where you can find the very simple themes I made and which can be imported trough resflux.
You just have to unzip the file and save the 6 zip files inside it to the resflux folder of your phone (resflux will create such folder by itself) and later on you will able to import such themes by resflux itself.
I am using this themes with a 4.4.2 DN3 Rom, as I wrote above, but it could work even for any other rom (though it hasn't been tested) unless the apk are different.
Anyway, if my theme should not apply, in case the apks should not macth, still it would be very easy to follow the instructions in the thread by WisdomSky I linked above and to replace the drawables inside contacts, messages, email, incallui and the 2 favourite contacts widgets.
Regarding resflux, it is still in its first stages, so I saw that some mods don't get applied: i.e. I tried to theme the S5 launcher by replacing the drawer icon and the default folder icon with the one of the GEL launcher, but reflux was unable to do it. No problem, I replaced those icons by hand without using resflux
Sounds cool, do you have any screenshots?
lucaoldb said:
I post this minimal mod here though it is a very simple one, just because I think that many of us dislike the default icons of contacts that are infesting system wide secContacts.apk, IncallUi, messages, email and so on....
After flashing a touchwiz based rom, I usually replace those icons with the standard icon extracted from the stock google dialer (the gray one) which is by far more serious and not so creepy. It is obviously not difficult and does not even involve decompiling the apks, nor signing them (if they are system apps), but still it requires some time to replace the drawables inside the various apk files. I sometimes made my own VRthemes to replace such icons, but still even such way is not so easy and fast.
But I recently installed this wonderful xposed module, named resflux http://forum.xda-developers.com/xposed/modules/resflux-easy-android-theming-xposed-t2790940 by WisdomSky, which has got a huge potential and allows everyone to make a dummy proof theming without decompiling anything.
The credit obviously goes to WisdomSky, I just post a link https://www.dropbox.com/s/remjjpo7qo360hr/Resflux.zip where you can find the very simple themes I made and which can be imported trough resflux.
You just have to unzip the file and save the 6 zip files inside it to the resflux folder of your phone (resflux will create such folder by itself) and later on you will able to import such themes by resflux itself.
I am using this themes with a 4.4.2 DN3 Rom, as I wrote above, but it could work even for any other rom (though it hasn't been tested) unless the apk are different.
Anyway, if my theme should not apply, in case the apks should not macth, still it would be very easy to follow the instructions in the thread by WisdomSky I linked above and to replace the drawables inside contacts, messages, email, incallui and the 2 favourite contacts widgets.
Regarding resflux, it is still in its first stages, so I saw that some mods don't get applied: i.e. I tried to theme the S5 launcher by replacing the drawer icon and the default folder icon with the one of the GEL launcher, but reflux was unable to do it. No problem, I replaced those icons by hand without using resflux
Click to expand...
Click to collapse
dmxinc said:
Sounds cool, do you have any screenshots?
Click to expand...
Click to collapse
Here it is https://www.dropbox.com/s/vrfcf6jl2mgpv3k/Screenshots_2014-08-13-02-04-34.png
It simply replaces the icons of the touchwiz with the google ones.
Great
Misho.20123 said:
Great
Click to expand...
Click to collapse
Thanks, it is a great app. To be true, later on I themed the single apk files, but this app is very handy because it allows you to test your mod in a few minutes and to go back if you are not satisfied without any effort.
Misho.20123 said:
Click to expand...
Click to collapse
Do you mean you dislike the icons I replaced, or have you been unable to apply the mod?