[TUT] How to change text of notifications in status - Galaxy S Advance I9070 Themes and Apps

Greetings
After a long search on the internet, I finally found how to change the text in the notifications of the statusbar when you pull it down. This changes the text only in the notifications and not throughout the whole phone. Why I wanted to do this was because in bright conditions, the second line was hard to see when it was a dark gray. Now it is more visible to me with a lighter color and it makes a difference with both transparent and black notifications.
Decompile framework-res.apk
go to res -> values -> open styles.xml with notepad++ or your favorite editor.
Search for: TextAppearance.StatusBar.EventContent
you can change the color and size of the second line of your notification
TextAppearance.StatusBar.EventContent.Title
is where you can change things for the first line
and last search for:
TextAppearance.StatusBar.EventContent.Time
here you can make changes to the timestamp
The trouble I had was knowing exactly what those were referred to and which xml to edit.
Hope this is of some help in the themes and mods people are doing.
{
"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"
}

nice.. LOL

op updated (timestamp) finally LOL

LOL..did i already told you about the timestamp?

joehanh88 said:
LOL..did i already told you about the timestamp?
Click to expand...
Click to collapse
yup but it wasn't clear, and didn't work but this one did both in text size and color and whether it was normal or bold too
your suggestion: for timestamp color change in "holoclock" (something) in colors.xml didn't change a thing sorry LOL...

bobfrantic said:
yup but it wasn't clear, and didn't work but this one did both in text size and color and whether it was normal or bold too
your suggestion: for timestamp color change in "holoclock" (something) in colors.xml didn't change a thing sorry LOL...
Click to expand...
Click to collapse
lol..my bad

joehanh88 said:
lol..my bad
Click to expand...
Click to collapse
yes you are LOL.... go stand in the corner

Related

question for all the themers: what file controls text color in noti bar and sub menus

kinda like this? i wanna use it in my theme, but don't know how to get the notification and menu texts in red....like this from captivate's darkfire red:
{
"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"
}
does anyone already have this done for the vibrant?
cause i'm trying to use a transparent, but slightly themed notification bar, but it looks weird when using browser and other white based apps. so i'm trying to change the color.
They are xmls in the layout folder go through them all the ones that say status. The color codes are in them. You have to decompile them edit then recompile
Sent from my SGH-T959 using XDA App
^^^^
Correct, they are also controlled in framework-res.apk/res/values/styles.xml
im gonna try this tonight....i put a themed transparent notifcation bar, and when using something white-based, like browser, you can't see the clock or notification text....so i would also like to change the colors on those. is it in the same file(styles.xml)?
@apocalypse: i'm gonna follow your tutorial on the team whiskey forums to change the clock color.
I'm trying to fix this, actually...
Sent from my SGH-T959 using XDA Premium App
edit: i'm gonna try putting a dark transparent layer over it. see if it helps.....
cause having to edit xmls is kinda over my head....
^ I'm trying to learn too. Use Notepad++ to open/edit/save the .xml files.
Master had a great thread on how to use APK Manager that REALLY helped me. And all of our great developers/themers have been so gracious.
I'm working on a community honeycomb theme, check that thread for help as some of the guys posted what to do, and I have a link to the guide I referenced.

Change font text colour

Guys anyway to change font text colour because I can't read text if I use white or black background so I want to change text colour opposite to background I used.
{
"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"
}
Please help.I badly want to change those text colour
cure25 said:
Guys anyway to change font text colour because I can't read text if I use white or black background so I want to change text colour opposite to background I used.
View attachment 909180
View attachment 909181
Please help.I badly want to change those text colour
Click to expand...
Click to collapse
in framework/ res/color....u will find color files... find the correct one n edit it...
fundoozzz said:
in framework/ res/color....u will find color files... find the correct one n edit it...
Click to expand...
Click to collapse
I decompiled framework and went inside colors.XML but not able to understand what to modify.
Can u please help me
cure25 said:
I decompiled framework and went inside colors.XML but not able to understand what to modify.
Can u please help me
Click to expand...
Click to collapse
Currently not having laptop but I guess it should be like primary color...
there will be a 8 digit color code..
1st two for transparency and remaining normal color code...

ICS Dialer-Papa Dialer

Papa Dialer.
This one was created a long time ago but I brought it back from the grave. lol. I'd like to create a theme based on this color but I'm not sure when I'll have the time. I'll see what I can do. I may port this to a GB ROM but not anytime soon. Enjoy
ICS 3.7 Build A (shown in screen shot) http://www.mediafire.com/?re606dlbvr4077q
{
"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"
}
raider3bravo said:
Papa Dialer.
This one was created a long time ago but I brought it back from the grave. lol. I'd like to create a theme based on this color but I'm not sure when I'll have the time. I'll see what I can do. I may port this to a GB ROM but not anytime soon. Enjoy
ICS 3.7 Build A (shown in screen shot) http://www.mediafire.com/?re606dlbvr4077q
Click to expand...
Click to collapse
Looks nice Raider ! .. I think with different colors for the numbers it would be a huge hit ! little hard to see the shaded numbers especially in sunlight.
mjh68 said:
Looks nice Raider ! .. I think with different colors for the numbers it would be a huge hit ! little hard to see the shaded numbers especially in sunlight.
Click to expand...
Click to collapse
Thanks man. I haven't a clue on how to change the number color. Any pointers?
Sent from my ADR6425LVW using xda premium
edit the styles.xml in values xhdpi and values hdpi. if its black (ff000000) then just change that to (ffffffff) white or any other color you want. this is for both the phone and htcdialer apks. there might also be a value port hdpi or xhdpi. check the styles.xml for the hex codes. You might also have to edit the shadow color.

Help Locating Images.

i am Making a Theme With transparent backgrounds and need help in locating the images specified in the following screenshots, i am wanting to make them transparent but need to know the image name and image location, i think they might be in framework/res/drawable-hdpi, but for the life of me cannot locate them.
{
"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"
}
Any help would be greatly appreciated, thanks in advance Tired Storeman.
Do you mean the WiFi, Bluetooth images from the drop down, as they are in the SystemUI.apk and the ones from the settings picture are located in the Settings.apk
In each apkyou need the res > drawable-hdpi folder
Hey ag4751, thanks for the reply, guess i should have explained my request a bit better, i am trying to give the "wireless and network" and the "device" heading from the Settings screenshot and the "Samsung Account, setup samsung account" from the dropdown notification, a transparent background
Sorry I can't point you to the exact files. I don't have access to my PC to check and there are differences between roms. The settings headers will be something like list_section_header in framework-res, they will be .9pngs and if you zoom in on the image/s you should be able to confirm the correct one/s from the colour used...
For the dropdown notification try systemui/res/values/drawable and there should be a line in there for the notification row background (I'm not sure with this if tw uses an image instead its been a while since I used a Samsung from)
Sent from my GT-I9100 using xda premium
Thanks m1keyb, figured out the settings label, it was the tw_dark_header.9.png, now just need to figure out the pulldown notification background
np man, just had another look and the pulldown notification looks like notification_item_background_color & notification_item_background_color_pressed. status_bar_notification_row_background_color is the divider I think.
All in systemui values/ drawables.xml

[Q] Help please!!! With a background.

Hi.
I would love some guidance in this matter. Look at the pictures below, when I'm about to edit a contact the background is black and some text dark grey. Where can I change this, in what apk and xml, so it is readable?
{
"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"
}
Would really love some help in this matter!
pemell said:
Hi.
I would love some guidance in this matter. Look at the pictures below, when I'm about to edit a contact the background is black and some text dark grey. Where can I change this, in what apk and xml, so it is readable?
Would really love some help in this matter!
Click to expand...
Click to collapse
Is this a costum ROM? If it is it might be a bug, or some option like a darker theme that is selected.
vortax123 said:
Is this a costum ROM? If it is it might be a bug, or some option like a darker theme that is selected.
Click to expand...
Click to collapse
It's stock rom (Touchwiz 4.1.2) but with aosp contacts app. I want to find the xml that controls the text color or background picture. Do you know where to look?
pemell said:
It's stock rom (Touchwiz 4.1.2) but with aosp contacts app. I want to find the xml that controls the text color or background picture. Do you know where to look?
Click to expand...
Click to collapse
No I don't :s But I searched a bit and found this two threads http://forum.xda-developers.com/showthread.php?t=2354006 and http://forum.xda-developers.com/showthread.php?t=2278040 These guys have modified aosp, so they probably can help you better than I can
Resolved.
Changed this in my theme: <color name="theme_primary">#ffffffff</color>
Mods, please close this thread.

Categories

Resources