[Q] Change notification colours - Android Themes

Does anyone know how I would change the colours of the text in black below? It is the only thing that I can't find. I think It might be in services.jar somewhere but changing that is out of my depth.
Any help is greatly appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309

I am interested in this as well. I have searched and searched code and Google for where that precise line is and coming up empty. The links provided althougb useful and already used do not address the question.
Sent from my SCH-I500 using XDA App

It's an .xml file in DownloadProvider.apk/res/layout, I do believe.

JAguirre1231 said:
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
Click to expand...
Click to collapse
Thank you very much! It works perfectly!

What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.

BumRush said:
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
Click to expand...
Click to collapse
I decompile them with apktool and then use any ol' text editor.

Great lesson, thanks

Ganii said:
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
Click to expand...
Click to collapse
You can change the color of the date in a .xml-file.
I'm building up a tutorial where to find to corresponding entries in the .xml-files (see my signature). Any hints to new places are welcome

Related

[Mod]Battstatt - spanish

Little mod to battstatt,to display battery info in spanish, has some minor glitches with the sizes except large one, and another one that happen when the battery is below 10% the message below that percent has the "_y_" in front, that's because how the numbers are written in spanish. dont know how to fix it without the source code or messing with the widget core.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope someone find this useful.
any advice are welcome!
All the credits to http://blog.mudderman.com/ <- original autor of battstatt
thanks! it looks beautiful
Can you maybe explain how you changed the launguage?
I would like to make for my.
stifler05 said:
Can you maybe explain how you changed the launguage?
I would like to make for my.
Click to expand...
Click to collapse
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
kmilof said:
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
Click to expand...
Click to collapse
Thank you mate.
"Text Battery Widget" has spanish builtin

(cm7) Theme help(png file fixed)

Does anyone know why the check is on top on the text and not next to it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Didn't give us much to work with.
bkmo said:
Didn't give us much to work with.
Click to expand...
Click to collapse
I am on cm7 flashed my theme and the check is on top of the text I changed the progress_horizontal via hex edit and the live wallpaper apk via apk manger I don't think any of that would messed with btn_check png they are .9 and they are the same size as stock
dfuse06 said:
I am on cm7 flashed my theme and the check is on top of the text I changed the progress_horizontal via hex edit and the live wallpaper apk via apk manger I don't think any of that would messed with btn_check png they are .9 and they are the same size as stock
Click to expand...
Click to collapse
Changing progress_horizontal would not do that. Looks like a layout change somewhere in the theme you flashed. Someone with more experience may be able to tell you the exact .xml causing the problem. Posting the theme you flashed may help also.
Dont Panic said:
Changing progress_horizontal would not do that. Looks like a layout change somewhere in the theme you flashed. Someone with more experience may be able to tell you the exact .xml causing the problem. Posting the theme you flashed may help also.
Click to expand...
Click to collapse
I am making the the theme and it is not done yet, I have made this theme for 3 or 4 captivate rom and this is the first time i am doing it for cm7
Fix it my self here was the issue if anyone wants to know the png was a rgb. So I made it to a Index file and it fix it
Please let me know when this theme is done for test or release. It looks very nice for me. I like it black & white and I'm searching for it since I've CM7 installed. I hope you'll done it for the theme chooser, hum?
Greets,
Benny.

Change background SMS - help me

Help me
Need a hand I don't know how change background news - where find what is his name ?
Thank you
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Meanwhile me succeeded do these changes
Meanwhile me succeeded do these changes
eprd said:
Help me
Need a hand I don't know how change background news - where find what is his name ?
Thank you
Click to expand...
Click to collapse
After i got crazy trying to figure out how to change that background finally i found the solution!
Basically you need to modify this xml inside Mms.apk: res/layout/compose_message_activity.xml
just search for "#ffadc0ce" (light blue) and change to whatever color you like!
That said i guess you already know how to decompile apk, edit xml, recompile it. If it's not the case i can give you the xml modded file already compiled with white background color. If you don't like white just let me know!
its it a theme your using at your post #2 ?? cuz i like !
RE
LeoMar75 said:
After i got crazy trying to figure out how to change that background finally i found the solution!
Basically you need to modify this xml inside Mms.apk: res/layout/compose_message_activity.xml
just search for "#ffadc0ce" (light blue) and change to whatever color you like!
That said i guess you already know how to decompile apk, edit xml, recompile it. If it's not the case i can give you the xml modded file already compiled with white background color. If you don't like white just let me know!
Click to expand...
Click to collapse
To:LeoMar75-"Thank you"
Thanks for counsel but it be beyond my force - xml. Like get your adjustment on white colour plus I'd like was if it went and on dark grey (screen) .To possible selection.
Thank you,thank you.
Excuse for English it does translator - me don't know.
This is what i did so far!
LeoMar75 said:
This is what i did so far!
Click to expand...
Click to collapse
It is possible serve with a notice that set xml ,with by this one background colour here , download? Thanks
eprd said:
Meanwhile me succeeded do these changes
Click to expand...
Click to collapse
please post these theme
Harmonovo
fonsigno said:
please post these theme
Click to expand...
Click to collapse
Try out
Are there some way changes
http://www.edisk.cz/stahni/77131/framework-res.rar_6.22MB.html
http://www.edisk.cz/stahni/75424/lge-res.rar_1.64MB.html

[Help] Sense 4 ICS SystemUI.apk 9.pngs

Hi to experienced themers
can anybody help me, there is no compilation errors but
9 pngs become messed up.
How to fix thanks?
Also I'm trying to port an eqs to mdpi from hdpi, please help how to adjust size of header image
and notification Fonts icons size.
I already replaced all images to mdpi.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks
Conventional 9.pngs stretch the image so you can't have a full pattern in them, the screwy bits are those being stretched. From reading this thread (last few pages)
http://forum.xda-developers.com/showthread.php?p=18790818
It seems sense uses repeater pngs you may find an answer or the help you need there.
Sent from my GT-I9100 using xda premium
Hi, I've been having these issues for a long time. The only way to fix this is to take the PNGs that are stretched from an unmodified apk, and then make changes to the apk. After that, open your modified (and signed) apk as a ZIP and replace the PNGs you took out. Right now, this is the only way to fix this, since apktool optimizes these PNGs every time you use it.
Also, sometimes the .9.pngs are renamed to r.9.png, and lead to FCs. If this happens, rename them to .9.png, and it should be fixed
Thanks, now I will try. My only problem now is resize header and notification font sizes.
EDIT I copied default deodexed stock drawable-mdpi files but still desame
EDIT 2: removed r9, will see. results, still desame
EDIT 3: copied stock r9, results still systemUI FC
EDIT 4: renamed stock r9 to 9pngs success.
shrome99 thanks for pointing the exact answers.
Now to resize header image the one with provider text and notification fonts size, anybody pls.

Need help to Identify a png

Hello,
Something is bothering me when I'm watching a video :
when I hit the volume keys, this volume popup is coming in front of the video, and stays there for ages
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I would like to edit the background and make it transparent. I'm pretty sure it's located in res\drawable-hdpi
but if someone knows which file it is, that would help me a lot
thanks !
Should be in framework-res.apk or SystemUI.apk.
Just view the folder and look for this png?
Maybe it's used by other dialogs too, so there could be more than one part. (top, middle, bottom)
And if you're not lucky, other dialogs are transparent too after this. ;o
I did open the "framework-res.apk"
I got a lot of files in it :laugh:
I did not find anything looking like it, only these ones maybe ... ?
is it a sigle png file or maybe these tiny squares put together ... I should test
On mine its dialog_full_holo_dark there are other dialogs that use it though...if you don't want to affect them you'd have to edit volume_adjust.xml to point to another image
If you can decompile your framework check that xml to confirm
Sent from my GT-I9100 using xda premium
ok thanks,
can I just extract the xml from framework-res.apk on my computer, edit it, and then add it again + adb push the new framework-res.apk ?
edit : looks like I need to read this http://forum.xda-developers.com/showthread.php?t=1427959
ok, in the XML volume_adjust.xml (once I decompiled the file), I found this :
android:background="@drawable/dialog_full_holo_dark"
yeah there is a bit involved in decompiling but its worth learning how to do it, especially with 9.pngs
Sent from my GT-I9100 using xda premium
I have errors when I try to recompile, so I'm gonna go with replacing the PNG file with a transparent one, and just replace the png withing the APK using winrar. I made a backup. Time to adb :silly:
well, it doesn't change anything
(and I wipped cache+dalvik)
damn
Hmm that's weird, here's a compiled image I found on my phone if you want to try with that to test. If that works it must be something to do with the image you used, if that doesn't work it must be something to do with the process your using to push it to your phone not working.
http://db.tt/K2uTCdey
If you decide to give compiling another go...assuming you've got your environment and paths set up correctly and you've not changed the 9patches, the errors you're getting may be just plural errors? If that's the case you just need to go through values and change line 79 on each one so they're like %d %%d instead of %d %d (sorry that's a bit vague)
Sent from my GT-I9100 using xda premium
Edit: If you get stuck with it post your framework and i'll do it for you.

Categories

Resources