Need to change clock color for a theme - Epic 4G Q&A, Help & Troubleshooting

Working on my first theme here and I cannot change the color of the clock in the notification bar. Can anyone give me a tip? I've tried smali/baksmaling the services.jar and editing the relevant lines (or so I thought) but to no avail. Also colorChanger didn't work. :/

Nevermind, figured it out.

what color will this theme be?

kab0b0 said:
Nevermind, figured it out.
Click to expand...
Click to collapse
How you do it?

lviv73 said:
How you do it?
Click to expand...
Click to collapse
You need to edit StatusBarIcon.smali in services.jar
Look for the line:
Code:
invoke-virtual {v4, v7}, Landroid/widget/TextView;->setTextColor(I)V
go above it and add the line:
Code:
const/high16 v7, -0x100
where "-0x100" is whatever color you want it to be. (In this case, black)

rhyme187 said:
what color will this theme be?
Click to expand...
Click to collapse
Was gonna leave it a surprise, but it's what I've attached here. It's not quite done yet.

Related

[q] How to change pull-down notif. tray. text color?

Working on a making a theme for myself, but I've realized that I will have to change the color of the text in the pull down notification tray. Anyone know how in the heck I would do this?
jlechner said:
Working on a making a theme for myself, but I've realized that I will have to change the color of the text in the pull down notification tray. Anyone know how in the heck I would do this?
Click to expand...
Click to collapse
Read here
You need a services.jar edit and then a png edit. Pretty easy.
SteelH said:
Read here
You need a services.jar edit and then a png edit. Pretty easy.
Click to expand...
Click to collapse
That is for the background. Reading through the other links on that tread, I still can't find the line in any or the services.jar areas.
jlechner said:
That is for the background. Reading through the other links on that tread, I still can't find the line in any or the services.jar areas.
Click to expand...
Click to collapse
Here you go my friend life made very simple for all of us... I use this all the time to change up things
http://circle.glx.nl/
playya said:
Here you go my friend life made very simple for all of us... I use this all the time to change up things
http://circle.glx.nl/
Click to expand...
Click to collapse
That is a really good site. Sadly, it doesn't change all the icons on the factory rom. Dang, I'm so close to being done with this theme, only a few things standing in my way.
I was just reading a tutorial on this. I think it was in the droid x forum.
Sent from your mom's phone.
Well I made the rest of the icons, now I'm back to needing to change the clock and date color in the bar.

[Q] XML File to change Text Color??

Does ANYONE know what XML file I would have to edit in the Facebook for android apk to make the text color of the app widget white?
-Meaning if you have the FB widget on your homescreen, usually the background is white and the text is black..ish. My background is now black and I want the text to be white instead of black...ish.
I can read the text, but it's quite annoying. And no, I do not want to go back to a white background if that was your solution = )
Thanks!
edgarzonjr said:
Does ANYONE know what XML file I would have to edit in the Facebook for android apk to make the text color of the app widget white?
-Meaning if you have the FB widget on your homescreen, usually the background is white and the text is black..ish. My background is now black and I want the text to be white instead of black...ish.
I can read the text, but it's quite annoying. And no, I do not want to go back to a white background if that was your solution = )
Thanks!
Click to expand...
Click to collapse
There are many xmls to look for. Check the values folder under color or drawable. Or it could be in layout under appwidget
free the dirk
Papa Smurf151 said:
There are many xmls to look for. Check the values folder under color or drawable. Or it could be in layout under appwidget
free the dirk
Click to expand...
Click to collapse
Yep, well I looked in there, but I wasn't sure it was the right spot to change the color since I kept seeing #ff000000 instead of #000000 which after extensive googling, I found out the ff is the transparency and the rest is hex. Ok so that makes sense now.
So for ANYONE who may want to know this... first decompile the apk so you can edit the xml color in values\drawable.xml and then compile apk AND THEN edit your res\hdpi files. Otherwise it doesnt work. This was the case for me anyway. I could be 101% incorrect, but this is the way it worked for me
edgarzonjr said:
Yep, well I looked in there, but I wasn't sure it was the right spot to change the color since I kept seeing #ff000000 instead of #000000 which after extensive googling, I found out the ff is the transparency and the rest is hex. Ok so that makes sense now.
So for ANYONE who may want to know this... first decompile the apk so you can edit the xml color in values\drawable.xml and then compile apk AND THEN edit your res\hdpi files. Otherwise it doesnt work. This was the case for me anyway. I could be 101% incorrect, but this is the way it worked for me
Click to expand...
Click to collapse
Yeah that is correct. The ff is transparency and also correct that u can decompile apk do ur XML/smali edits then recompile and do ur PNG edits.
free the dirk

[Q] To themers: name of an image

Trying to theme my status bar dropdown, and it's driving me insane.
I replaced the quicksettings and clear notifications icons, but when pressing them they get a green overlay.
Right now I'm trying to find out where this is controlled. Must be one of the .xmls or in smali, but so far I had no luck finding anything.
Anyone else know where to look?
KamikaZeeFu said:
Trying to theme my status bar dropdown, and it's driving me insane.
I replaced the quicksettings and clear notifications icons, but when pressing them they get a green overlay.
Right now I'm trying to find out where this is controlled. Must be one of the .xmls or in smali, but so far I had no luck finding anything.
Anyone else know where to look?
Click to expand...
Click to collapse
I'm facing the same dillema. I bet it's in smali somewhere... if we're lucky it calls the RGB value from an XML we can change somewhere.
NRGZ28 said:
I'm facing the same dillema. I bet it's in smali somewhere... if we're lucky it calls the RGB value from an XML we can change somewhere.
Click to expand...
Click to collapse
I checked most of the xmls in systemui and had no luck finding anything. If it calls an xml, then it most likely sits in com.htc.resources.apk which would suck :/
Sent from my HTC One X using xda premium
KamikaZeeFu said:
Trying to theme my status bar dropdown, and it's driving me insane.
I replaced the quicksettings and clear notifications icons, but when pressing them they get a green overlay.
Right now I'm trying to find out where this is controlled. Must be one of the .xmls or in smali, but so far I had no luck finding anything.
Anyone else know where to look?
Click to expand...
Click to collapse
It's skinned blue in our Rom so its not in resources. I'm pretty sure it's in framework-res.apk values/colors.xml. holo_green_light & holo_green_dark
But to be sure I'll ask our lead dev sergio tomorrow.
rayford85 said:
It's skinned blue in our Rom so its not in resources. I'm pretty sure it's in framework-res.apk values/colors.xml. holo_green_light & holo_green_dark
But to be sure I'll ask our lead dev sergio tomorrow.
Click to expand...
Click to collapse
Thanks I'll give it a try
Sent from my HTC One X using xda premium
since it will be changed if one applies a HTC Sense theme, and the Matte theme for instance has a blue on pressed color i did a quick apktool d Matte.apk
i found no graphics file inside but i found this inside /res/values/colors.xml
Code:
<color name="overlay_color">#ff0087b4</color>
endursa said:
since it will be changed if one applies a HTC Sense theme, and the Matte theme for instance has a blue on pressed color i did a quick apktool d Matte.apk
i found no graphics file inside but i found this inside /res/values/colors.xml
Code:
<color name="overlay_color">#ff0087b4</color>
Click to expand...
Click to collapse
Yeah it doesn't do what we want it to do though
I found it's easier to just put all your changes in a skin that's already got blue highlights, such as aluminum or matte. Now if I could only get rid of the black clock in the Matte theme I'd be golden!
endursa said:
since it will be changed if one applies a HTC Sense theme, and the Matte theme for instance has a blue on pressed color i did a quick apktool d Matte.apk
i found no graphics file inside but i found this inside /res/values/colors.xml
Code:
<color name="overlay_color">#ff0087b4</color>
Click to expand...
Click to collapse
Nice catch, too bad that the default skin is com.htc.resources.apk, which can't really be edited atm until apktool is updated.
Edit: with your hint I think it's "<color name="multiply_color">#ff00beff</color>" under values/colors.xml. for stock HTC theme, I think it's in SystemUI.apk, trying it out now.
Edit2: yup, that's the value that colors the icon on press . Editing SystemUI.apk is enough. Bear in mind that the color gets overlaid as a multiply layer (think Photoshop)
Yeah that makes sense with the multiply overlay
It was late yesterday when i posted my findings :-D
- One X -

[Theme] Sprint ND8 4.4.2 Stock Elegant White Theme [Updated 6/4]

Hey guys. Here's an Elegant White Theme for the new Sprint ND8 update. I thought I'd share it here since there were some folks who liked it back on MK3. There are a few minor little things that are still wip, since Samsung changed some things around in the ND8 framework. All icons are from stock TW but I'm working on another zip which will include icons from the WPX MK3 roms. Thanks to @bilgerryan, @dazednconfused and the rest of TeamWicked for allowing me to use them. I hope you all enjoy.
Included Apk's
framework
twframework
SecSettings
SecMms
SecContacts_OSup
SecPhone
SecNoteMyFiles
SecLauncher2
MusicPlayerWT
SecGallery2013 - wip
ClockPackage_OSup
MusicCommonUtility
SecBrowser_SPR
SecDownloadProviderUi_2
JobManager
SecCalendar_NAmerica
SamsungIME
SamsungCamera​
Make sure to back up your existing rom. Download zip and place in either internal or external sdcard. Boot into recovery, wipe cache and dalvik cache and install zip.
Download link:
6/4 V2: http://www.androidfilehost.com/?fid=23501681358542721​ 5/29 V1: http://www.androidfilehost.com/?fid=23501681358540121​
5/31 Updated SecSettings - Now included in V2
Fixes wifi connection dialog text
Push to system/priv-app, change permissions to rw-r-r and reboot
http://www.androidfilehost.com/?fid=23501681358540473
Changelog:
V1
Initial release
V2
Corrected some menu dropdown panels, menu hardkey panels and texts which affect 3rd party apps.
Corrected texts affected when installing certain Wanam mods
Includes S5 Mms
Reserved for screenshots
Great job.I was waiting for this
mholloway said:
Great job.I was waiting for this
Click to expand...
Click to collapse
Thanks man. It's been a little frustrating trying to get this one to look just like the MK3 release. Samsung changed a few things around in framework. I haven't been able to figure out one text in particular because it definitely affects the text in some 3rd party apps. As always, thanks for supporting the theme!
nyfl2004 said:
Thanks man. It's been a little frustrating trying to get this one to look just like the MK3 release. Samsung changed a few things around in framework. I haven't been able to figure out one text in particular because it definitely affects the text in some 3rd party apps. As always, thanks for supporting the theme!
Click to expand...
Click to collapse
Can you tell me where and what file changes the settings background.
edit -reason I am asking I have a white carbon fiber pic .maybe can be used instead of just white.?
mholloway said:
Can you tell me where and what file changes the settings background.
edit -reason I am asking I have a white carbon fiber pic .maybe can be used instead of just white.?
Click to expand...
Click to collapse
No problem. Go into framework-res/drawable and look for the following 2 xml's: tw_screen_background_selector_dark and tw_screen_background_selector_light. You can also control them in framework-res//res/values/styles.xml.
Edit: Those 2 xml's will actually direct you to "tw_background_holo_dark" and "tw_background_holo_light". Since you want to use a png image, you're going to have to add your png to the drawable folder and then edit the following xml lines:
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ff000000" /> change this this line to the name of your png. Example: "@drawable/framework_background"
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffffff" /> change this line to the name of your png
Example: "@drawable/framework_background"
nyfl2004 said:
No problem. Go into framework-res/drawable and look for the following 2 xml's: tw_screen_background_selector_dark and tw_screen_background_selector_light. You can also control them in framework-res//res/values/styles.xml.
Edit: Those 2 xml's will actually direct you to "tw_background_holo_dark" and "tw_background_holo_light". Since you want to use a png image, you're going to have to add your png to the drawable folder and then edit the following xml lines:
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_dark" android:state_accelerated="false" />
<item android:drawable="@drawable/tw_background_holo_dark" /> change this line to the name of your png
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_light" android:state_accelerated="false" />
<item android:drawable="@drawable/tw_background_holo_light" /> change this line to the name of your png
</selector>
Click to expand...
Click to collapse
Man... thanks.
mholloway said:
Can you tell me where and what file changes the settings background.
edit -reason I am asking I have a white carbon fiber pic .maybe can be used instead of just white.?
Click to expand...
Click to collapse
Wow, what a mess I made of that. It should be correct now. Sorry for all the changes..
Edit: This is what it should look like..
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ff000000" /> change this this line to the name of your png. Example: "@drawable/framework_background"
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffffff" /> change this line to the name of your png
Example: "@drawable/framework_background"
nyfl2004 said:
Wow, what a mess I made of that. It should be correct now. Sorry for all the changes..
Edit: This is what it should look like..
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
change this this line to the name of your png. Example: "@drawable/framework_background"
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
change this line to the name of your png
Example: "@drawable/framework_background"
Click to expand...
Click to collapse
What do you use to edit the xml. Notepad++ ? It won't doit for me.just opens to one line across the top in notepad++.???
This is the pic
mholloway said:
What do you use to edit the xml. Notepad++ ? It won't doit for me.just opens to one line across the top in notepad++.???
Click to expand...
Click to collapse
Yes, I always use Notepad++. Do you have a screenshot?
Of the pic .already posted it above
Sent from my SPH-L710 using Tapatalk
mholloway said:
What do you use to edit the xml. Notepad++ ? It won't doit for me.just opens to one line across the top in notepad++.???
This is the pic
Click to expand...
Click to collapse
Give me a little bit. I'll give it a shot. The Heat game is on. They're destroying Indiana...
nyfl2004 said:
Give me a little bit. I'll give it a shot. The Heat game is on. They're destroying Indiana...
Click to expand...
Click to collapse
Lol.ok cool.I appreciate that.
Awesome work buddy. 2nd time doing the hardest theme. Glad you kept at it. You must know every line and PNG in this theme by heart by now. Too notch.
[email protected]'$ [email protected]@XY- Screw the Canadiens
Thebear j koss said:
Awesome work buddy. 2nd time doing the hardest theme. Glad you kept at it. You must know every line and PNG in this theme by heart by now. Too notch.
[email protected]'$ [email protected]@XY- Screw the Canadiens
Click to expand...
Click to collapse
Thanks brother. It's definitely gotten easier this time around. Although, Samsung got a little tricky with this release. I think they were a little peeved that we managed to invert MK3. Lol
mholloway said:
Lol.ok cool.I appreciate that.
Click to expand...
Click to collapse
Here you go brother. I hope this is helps.
https://www.dropbox.com/s/kcfrju178fhgcu1/framework-res.apk
nyfl2004 said:
Here you go brother. I hope this is helps.
https://www.dropbox.com/s/kcfrju178fhgcu1/framework-res.apk
Click to expand...
Click to collapse
Your awesome.I will download and check it out.thank you.
mholloway said:
Your awesome.I will download and check it out.thank you.
Click to expand...
Click to collapse
No worries man. I'll hit you up with some thanks tomorrow. No more left for today. Lol
nyfl2004 said:
No worries man. I'll hit you up with some thanks tomorrow. No more left for today. Lol
Click to expand...
Click to collapse
No need to give me thanks.
Not bad.I maybe should of got a different white carbon pic, but still I think is awesome. Thanks again.this is cool.
Sent from my SPH-L710 using Tapatalk
Thanks, loving the theme...
Can can you use S5 mms, phone in the next version?
Sent from my kd2att using Tapatalk

[Q]Inversion of colors in an apk ?

Hi,
Inversion of colors in an apk Message ?
I modified contacts inverted, for the version 2.7.401.1,.
But I do not find this part ? I tested to modify several .9.png but did not find! It set probably in one of the xml that there is a white.
An idea?
Thank you in advance
Re..........
Among does XDA nobody know ?
Alan-B said:
Re..........
Among does XDA nobody know ?
Click to expand...
Click to collapse
most likely colors.xml in the values folder
flex360 said:
most likely colors.xml in the values folder
Click to expand...
Click to collapse
Hi,
Thanks, but...
I suspect although it is in been values / color, but I do not find the good line! White is not always ffffff!
Vermon was said in HTC-IME, but it is not there.
Test ;
Replace all the ffffffff by yellow but nothing can be done.
To cross the keyboard inverted black similar?
@+
Pyrana

Categories

Resources