[Q] Customizing Framework/SystemUI XML Files to Change System Font Colors - Samsung Galaxy Nexus

Hey, I've got a Samsung Galaxy Nexus (Verizon, SCH-I515) that I'm working on fully customizing to my liking and I had a few questions I was hoping to get some help with, mainly pertaining to changing the default font colors. I'm running Paranoid Android 3.1 (JB 4.2.2) as well as using Nova Launcher Prime. The basic idea of what I'm doing is changing the entire phone from a dark themed phone into a light themed phone. This includes everything, the dialer, settings menu, notifications menu, etc.
I'm currently using Ninjamorph to find all the image files to replace with their light counterparts I'm doing and though sometime tedious, I seem to be slowly finding all the files I need. The problem is I need to change the font colors now from light to dark so that I can see them with my lighter backgrounds. From what I understand, I'll need to go to the framework-res.apk/res/color and inside those XML files will be the coding for the font colors.
1.) If I can just email the XML file to myself from my phone and open it on my computer, what program can I use to read the XML file to change the values I need to? I figure after that I can download the edited file to my phone and use Ninjamorph to put it back into my framework-res.apk.
2.) Would I be able to change the background in the app drawer from black by default to white, from one of these XML files as well?
3.) Is there any way that this white housing (http://www.ebay.com/itm/new-Housing...261?pt=LH_DefaultDomain_0&hash=item20cc67e87d) would fit my phone? It's designed for i9250 but if it'll fit I'd like to try it.
I attached some screen shots below of my phone so you can see the basic idea of what I'm trying to do and where I'm at. Thanks so much for taking the time to read this!

Nothing guys? Really?

Related

[Q] Dev/Themer Question XML and Image to edit??

Ok so I've managed to edit a few of my apks on my phone to something that I like better and that's been easy because i knew the files I needed to edit would be in the apk itself. With me so far?
So now I want to edit some files on the ROM I'm using, but this is where it gets tricky, because I dont know if I need to edit the framework, SystemUI, or Roise, etc.... to get what I want.
So... here is my question: Attached is an image of my menu that pops up when I git my Meny button on my Evo. You'll notice my icons are pulled from another Rosie.apk which I replaced with my current Rosie.apk. I had to pull edit and push this mod because flashing it was not compatible with my current ROM. So now, that i have the icons I want, I want to make the background of this menu (and possible others) black transparent and the text white. I know this can be done because I've seen it and would like to know which files need to be edited.
Does anyone know that could toss me a bone??
I've also posted this on Android Central, but no one seems to know there...
for the menu background color it should be either menu_background or menu_background_fill_parent_width both in framework-res.
For the text color i dont know but poke around the .xmls in framework or ask here http://forum.xda-developers.com/showthread.php?t=468254&page=283
eniamg02 said:
for the menu background color it should be either menu_background or menu_background_fill_parent_width both in framework-res.
For the text color i dont know but poke around the .xmls in framework or ask here http://forum.xda-developers.com/showthread.php?t=468254&page=283
Click to expand...
Click to collapse
Many thanks my friend... MANY MANY THANKS!
Yw,if you figure out how to change the text color in menu you should post findings here.
Sent from my PC36100 using Tapatalk

Question about theme mod's

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.

[Q] Pull Down Bar Background

Hello i was wanting to know how to change the image in the pulldown bar like you see in the UOT kitchen and if its possible to change the top buttons images like the wifi on / off and 4G on /off ect or the whole button itself
there in the SystemUI.apk located in system/apps
res/drawablehdpi folder
just edit in any image editor but try and stay away from the .9.pngs they are special and a pain in the bum.
you can just change .apk to .zip to unzip then rezip and rename.apk
you want the quicklaunch icons for the drop down icons
and status_bar_background for the actual background
thank you bro for such a fast answer
no problem i just happen to be trollin through
do you happen to know were the battery images are ?
and if i could just remove all the stock ones with ones from another theme for my phone ?
battery images are in framework-res
system/framework
if using ones from another phone you'll probably need to do some renaming
most roms currently on our phone use full 100 % increments
if i remember correctly there are 203 total 100 unplugged
100 plugged and a full empty and unknown
thanks again you have been a huge help
anytime
if noone shares the info this stuff can be a royal pain.
If you use the UOT Kitchen and keep getting errors, try un-checking Patch9 autofix. This will not decompile the 9patch images and may allow your theme to build. It worked for me with modding ACS Ice Cream Sandwich Theme (modded battery only).
thank you
and are there any other theme kitchens or rom kitchens for our phone ?
oh and i noticed there are two different default pull-down backgrounds one under systemUI.apk and one under the frameworks.apk and both are different sizes and dimensions , witch ones do i change ? or do i change both ?
the one you want for the drop down background is
status_bar_background.png
in SystemUI.apk
mjcollum said:
anytime
if noone shares the info this stuff can be a royal pain.
Click to expand...
Click to collapse
I'm fairly new to Android, coming from my FrankenPre to the Epic Touch. I want to begin editing the icons and images on my phone, and I've been exploring some ROMs ansd themes and switching up some icons, which have worked fine. However, I have no idea exactly where all the images are kept. For instance, I tried to change the stock Email icon, but the images I changed weren't right, and I was somehow left with the "Android Robot" icon.
My question is, seeing as how you know where these images reside on the phone, how do I go about knowing which icons are where, and which ones I need to change? Is there a list somewhere of the stock system images and their locations, or is it trial and error to figure out where they are? Thanks for the help.
mjcollum said:
no problem i just happen to be trollin through
Click to expand...
Click to collapse
haha "just rollin thru""

how to make a "light" theme

i really like how the people app looks in ics
can i edit framework to change the settings menu background to the white color in the people apk? as well as change the text to black so i can actually see it? maybe even make the dialer have a white background as well. thanks for any help i would love to make ics more of a "light" theme.
EDIT: is it possible to change the image in frame work labeled (not sure on the name) holo_background_dark.png, if i did replace this how to i change the font to be dark as well
a lot of text issues arise when making a white theme. more so than just changing the text color in framework and sysui
It's possible, of course, but the fact that you are asking those questions warrants the answer 'but not advisable for YOU to mess with it'.
It's not simple as 'changing one background/text color'.
Edit: if you are really determined to do it, take a look at this: https://docs.google.com/Doc?docid=0AcdxIJRSH9ypZGZzc2pxNDlfMjdnazk4OHNxZA&hl=en&pli=1
MilkPudding said:
It's possible, of course, but the fact that you are asking those questions warrants the answer 'but not advisable for YOU to mess with it'.
It's not simple as 'changing one background/text color'.
Edit: if you are really determined to do it, take a look at this: https://docs.google.com/Doc?docid=0AcdxIJRSH9ypZGZzc2pxNDlfMjdnazk4OHNxZA&hl=en&pli=1
Click to expand...
Click to collapse
thank you for the guide.
my title isn't really clear on what im doing, its not necessarily a whole theme, i still want to keep all apks the same as well as the status bar and stuff, but more or less changing the background image of the settings menu to white by extracting the frame work and replacing the gradient grey png with a white one and then changing the font in the settings menu to a dark grey. which works in root explorer alone. i just need to find out how to change the font color. which could probably be done by putting in a hex code to a system file right?
if not o well atleast i tried lol, hopefully there will be a light theme soon.
andrewlax120 said:
thank you for the guide.
my title isn't really clear on what im doing, its not necessarily a whole theme, i still want to keep all apks the same as well as the status bar and stuff, but more or less changing the background image of the settings menu to white by extracting the frame work and replacing the gradient grey png with a white one and then changing the font in the settings menu to a dark grey. which works in root explorer alone. i just need to find out how to change the font color. which could probably be done by putting in a hex code to a system file right?
if not o well atleast i tried lol, hopefully there will be a light theme soon.
Click to expand...
Click to collapse
framework-res.apk in no-dpi folder, is the gradient background png.

Changing background on apps/widgets screens

Let's say I have a theme I really love except that the background for apps/widgets icon screens is plain black and I want background to be the same as the wallpaper. Given that there is no setting for this, I assume I will need to learn how to open theme, replace plain background with wallpaper and reassemble theme. Yes?
What are the likely names of the home screen and app/widget backgrounds and where in res would they be? They're going to be a png file, yes?
I assume with this information and Photoshop I can follow instructions in how to theme thread to actually accomplish this task.
Is there any other way to accomplish this task?
A lot of apps don't actually have a plain background. It's written in the code to draw every pixel black. So it mostly really comes down to the app developer. If it's not written in the code, then it certainly would be possible to replace the background
Sent from a galaxy far far away.
luc.highwalker said:
A lot of apps don't actually have a plain background. It's written in the code to draw every pixel black. So it mostly really comes down to the app developer. If it's not written in the code, then it certainly would be possible to replace the background
Sent from a galaxy far far away.
Click to expand...
Click to collapse
I wasn't being clear. I meant the background on the screens with apps/widgets icons.
Given that wallpaper png is already in apk, I'm thinking changing xml settings for background of apps/widgets screens to wallpaper.png would work...if I knew what these settings were and in which xml file they would be. The other issue is there are several versions of the wallpaper png files in the apk, with different sizes and, I think, resolutions.
It sounds like your talking about the APP DRAWER? If so then you would need to check in the xxxxLauncher.apk (this depends on anything like what firmware/ROM your using. So it could be SecLauncher.apk, ApexLauncher.apk, NovaLauncher.apk, Etc....
So depending on the launcher you would need to see if it has an option already in it or extract the .apk and look for whatever file it uses for the background and replace it with whatever you want to.
For example: Apex Launcher has a setting in Apex Settings/Drawer Settings/Drawer Background Transparency/ popup with moveable bar that will allow it to see through to whichever wallpaper you have on your home screen.
Once you figure out how/where it is located inside the .apk then make sure the wallpaper you want to use is the same pixel size. Now open 7zip and find the launcher.apk and hit OPEN ARCHIVE. Next navigate to where the background.PNG or background.jog file is. Now drag the WALLPAPER you want onto the screen of 7zip. Hit okay when it ask if you want to add it. Now take that .apk and put it back on your phone, use a root explorer and move it to system and paste it there. Now long press on it and choose permissions and set it to rw-r-r. Next long press and hit move. Move to system/app and paste. It should ask to overwrite the .apk so hit yes. Reboot phone and it should be done.
These are just BASIC HOW TOs but should help guide you in the right direction .
Sent from my SAMSUNG-SGH-I747 using xda premium
RockRatt said:
It sounds like your talking about the APP DRAWER?
These are just BASIC HOW TOs but should help guide you in the right direction .
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Yes, it is the app drawer. I'll go over your reply and parse out the details. I'm running LiquidSmooth on one S3 and Vanilla Rootbox on other one. LS came with Nova, which I disabled and installed Android stock launcher. I don't know what Rootbox is, but it seems like stock. Same theme on both. Thanks for reply.
RockRatt said:
It sounds like your talking about the APP DRAWER? If so then you would need to check in the xxxxLauncher.apk (this depends on anything like what firmware/ROM your using. So it could be SecLauncher.apk, ApexLauncher.apk, NovaLauncher.apk, Etc....
Click to expand...
Click to collapse
I checked with several of the launcher devs, and they said that while their app drawer has variably background transparency, they don't support separate wallpaper background. Is that not your experience?

Categories

Resources