JB 4.2.1 Question about theming Contacts.apk - Samsung Galaxy Nexus

Hi there.
I'm trying to theme my Contacts.apk because I don't like the default cyan bar at the top. I wanted to apply the same dark gray color, just like in the Mms.apk. I previously was able to do this for my Contacts.apk in JB 4.1.2.
However, when I pushed the Contacts.apk from 4.1.2 to 4.2.1, the dialer would vibrate twice when I press a button (i.e. a number on the dial pad). So, I attempted to recreate the same dark gray color at the top of the bar for the Contacts.apk in 4.2.1.
BUT, the cyan color appears on the selected tab (see attached image). The other parts of the bar are the dark gray color. I decompiled and changed the png files in the drawable xhdpi folder, but is there an xml value that I'm supposed to edit? I didn't edit any xml values when I previously, and successfully, themed my Contact.apk for 4.1.2.
Any advice would help. Thanks everyone

That's going to be an XML in /res/drawable/tab_selected.xml
In currently uses the people holo theme color from res/values/colors.xml
You can also change it to a hex color value using #ffrrggbb
Sent from my Galaxy Nexus using xda app-developers app

suwu10 said:
That's going to be an XML in /res/drawable/tab_selected.xml
In currently uses the people holo theme color from res/values/colors.xml
You can also change it to a hex color value using #ffrrggbb
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Gotcha. Thanks for the tip!!! I'm gonna give it a shot and thank you again if/when it works
Sent from my Galaxy Nexus using XDA

Related

[Q] Font Color on Status Bar

Im working on a theme, and i've successfully themed the status bar, but i need to know how to change the color of the font on the status bar and in the drop down menu to black. I can't seem to find what lines to edit in the status_bar.xml using my hex editor. Any help would be greatfully appreciated. Thanks.
Go check out the vibrant themes section.. I have a sticky for metamorph.. There is a tutorial how to manually change xmls for font color...
I'm going to tell you u couldn't get the clock to change in the vibrant.. i could change the date but not the clock.. We have actually changed everything but the time...
Tmo did something with our framework so it may just be the vibrant but idk...
God luck..any questions pm me
Sent from my SGH-T959 using XDA App
Figured it out earlier today, thanks though.
Sent from my SPH-D700 using XDA App
So did you get the clock changed?
My phone has been flashed more than Girls Gone Wild...
junkdruggler said:
So did you get the clock changed?
My phone has been flashed more than Girls Gone Wild...
Click to expand...
Click to collapse
Yes. I modded my rom to have an aosp theme. Including the white status bar so i needed to know how to make the text font color black.
Sent from my SPH-D700 using XDA App
bubby323 said:
Yes. I modded my rom to have an aosp theme. Including the white status bar so i needed to know how to make the text font color black.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Wish someone would do a clear status bar....like riptide did on the evo
Sent from my SPH-D700 using Tapatalk
How to manually edit services.jar for text color
http://forum.xda-developers.com/showthread.php?t=630267
You are looking for lines 502 dateview, 513 mSpnlabel, & 514 mPlmnlabel
Just add the color change line and the color you want it...
My phone has been flashed more than Girls Gone Wild...

status bar PNGs

I can't seem to find the PNGs for the clock in the status bar or the PNGs for the blue bars and the date in the notification drop down anyone know where they are??
angelino0919 said:
I can't seem to find the PNGs for the clock in the status bar or the PNGs for the blue bars and the date in the notification drop down anyone know where they are??
Click to expand...
Click to collapse
Date and clock are not image based so you won't find them. Signal bars should be in systemui.
Sent from my Galaxy Nexus using XDA App
akellar said:
Date and clock are not image based so you won't find them. Signal bars should be in systemui.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Thanks I'm still in the learning stages of theming what denotes color of the time in the status bar and the date in the notification drop down
Thanks for the help
angelino0919 said:
Thanks I'm still in the learning stages of theming what denotes color of the time in the status bar and the date in the notification drop down
Thanks for the help
Click to expand...
Click to collapse
Pretty sure that is in smali coding but not exactly sure which jar file.
Sent from my Galaxy Nexus using XDA App
i havent themed ICS yet, but if they are in the same place as gingerbread this thread might help --> http://forum.xda-developers.com/showthread.php?t=831715
that was from this time last year when a few of us were figuring out where everything was in gingerbread
I may as well help you out as I've themed the whole of ICS and know it pretty much inside out...
The clock and the date in the dropdown are linked to one color in an XML. If you decompile your framework-res.apk go to res\values\colors.xml. change the following "Holo_Blue_Light" to whatever color you want, this will change the clock and the date color. The blue line you are referring to is in the systemUI, in the drawable-xhdpi folder. The image is named "Statusbar_hr.9.png" as its a .9.png I'd be careful editing it.
I hope this helps.
-N

[Q] app for customizing status bar color

hi every one
i want to aks is there any app for turning (just) singnal color from default (GRAY) to jb BLUE
like wifi and battry
it turns blue when mobile network is working,but i want it blue as the otheres for all the time
thanks in advance
any one to help me?!
Sent from my Galaxy Nexus using Tapatalk 2
These icons are graphics, you can't change their color in XML. Decompile SystemUI.apk and look at /res folder.
webDeWo said:
These icons are graphics, you can't change their color in XML. Decompile SystemUI.apk and look at /res folder.
Click to expand...
Click to collapse
i meant if there is some CWM file with this kind of fute tu change signal color,?!
Just search...
http://forum.xda-developers.com/showthread.php?t=1774850
http://forum.xda-developers.com/showthread.php?t=1837760
+
Theme Chooser themes

[Q] Change images in a Cm10 Theme?

How do I change images out of themes for cm10? Like lets say I want a black pulldown bar or black settings background how would I do this? I tried opening up the png in photoshop and making it black, saving it as the same exact name and put it back in the .apk but when I try to install it doesn't work. Would appreciate any help, Thanks.
You need to recompile the theme
Sent from my Galaxy Nexus using xda premium
polimeno said:
You need to recompile the theme
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
How would I do that?
You would need to decompile it first, the pulldown background is a .9.png so you would have to make whatever is inside the .9 border, if you screw up the border by the slightest it wont compile correctly. So i would suggest you keep you work area selected within the border. Then once you've made the corrections recompile and sign the apk. Otherwise it wont install.
You'll have to google how to decompile and signing apk's.. its relatively easy.
http://forum.xda-developers.com/showpost.php?p=10965186&postcount=3
good day.
Just extract the theme, edit/replace what you want, then zip it and flash.

Framework-resapk status bar icons?

Hey guys. Today I pulled the framework-res and extracted it with ninjamorph. I have been looking in the Res folder and can't find the status bar icons.
In the drawable mdpi and drawable hdpi folders I see icons that are similar but not the right ones. For example I see the c, evdo, and roaming signal icons but not the original ones. The 4g icon also looks different. Am I looking in the wrong folders? Help would be appreciated. Thanks in advance.
Sent from my LT28at using xda app-developers app
Are you trying to get the 4G/LTE icons for the LT28at? They're in the SystemUI - I'm not sure if framework related because I can't get the 4G icons to appear on my modded SystemUI. I'm still looking - there is a jar file (techdata?) in the framework folder maybe had something to do with that ... maybe someone could help?
Edit: I meant the SystemUI modded seem only work with LT28's framework - other LT28h or LT28i doesn't do anything.
Sent from my Ion* using Tapatalk 2
Yeah I'm trying to change all the icons in status bar to true ics. I love the color. I'm also doing the dialer true ics. Found the dialer but none of the status bar icons.
Sent from my LT28at using xda app-developers app
accts said:
Are you trying to get the 4G/LTE icons for the LT28at? They're in the SystemUI - I'm not sure if framework related because I can't get the 4G icons to appear on my modded SystemUI. I'm still looking - there is a jar file (techdata?) in the framework folder maybe had something to do with that ... maybe someone could help?
Edit: I meant the SystemUI modded seem only work with LT28's framework - other LT28h or LT28i doesn't do anything.
Sent from my Ion* using Tapatalk 2
Click to expand...
Click to collapse
I see a techdatamanager.jar, lets see whats in it XD
Edit: Nothing useful it has MANIFEST.MF not sure what that is so not gonna touch it.
Another question. What folders should i be editing?
MDPI, HDPI or XHDPI
Both?
I am guessing it is XHDPI because when i run a Device Screen and Resolution app i get:
720 x 1280
Scale = 2
PPI = 320
and according to this post: http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/
XHDPI is around 320 DPI
derrickdroid said:
Another question. What folders should i be editing?
MDPI, HDPI or XHDPI
Both?
I am guessing it is XHDPI because when i run a Device Screen and Resolution app i get:
720 x 1280
Scale = 2
PPI = 320
and according to this post: http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/
XHDPI is around 320 DPI
Click to expand...
Click to collapse
I'm not sure what are you trying to do? And framework-res or systemui?
Sent from my Ion* using Tapatalk 2
accts said:
I'm not sure what are you trying to do? And framework-res or systemui?
Sent from my Ion* using Tapatalk 2
Click to expand...
Click to collapse
I am trying to edit the icons in my status bar. instead of the white 4g symbol, white service bars, green battery, and white alarm clock i am trying to change them to an ICS blue color. But i cant find the icons to edit with photoshop.
The dialer keyboard im changing from white to ICS blue also. I have found those icons, located in the framework-res.apk\res\drawable-xhdpi folder. But there are also the same icons for the dialer in the drawable-mdpi and drawable-hdpi. so im just wondering which ones i need to edit.
Our phone is XHDPI so it must be the drawable-xhdpi folder i need to be editing in.
Ah, so color change for the icons - that's very easy.
Between SystemUI in System/app and framework-res in System/framework, you will find all the icons. First looks/edits icons in the drawable-xhdpi, if not there then drawable-hdpi. Ignore duplicate icons in drawable-hdpi. You're right the system will pull icons in xhdpi first, only if the icons not available in high resolution then in hdpi.
BTW: Jar file contained linux scripts in classes.dex.
Sent from my Ion* using Tapatalk 2
accts said:
Ah, so color change for the icons - that's very easy.
Between SystemUI in System/app and framework-res in System/framework, you will find all the icons. First looks/edits icons in the drawable-xhdpi, if not there then drawable-hdpi. Ignore duplicate icons in drawable-hdpi. You're right the system will pull icons in xhdpi first, only if the icons not available in high resolution then in hdpi.
BTW: Jar file contained linux scripts in classes.dex.
Sent from my Ion* using Tapatalk 2
Click to expand...
Click to collapse
Thank you so much. I will pull SystemUI and look through System/app

Categories

Resources