[Q] Editing apps background and font colour - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hi friends. How can I edit apps background and font colour. For example: exdialer background from white to black and font colour also.
Please dont prefer using exdialer theme. I already know that. Thank you...

i'm not sure.. but maybe you can decompile the app and change the background.png file

You need to decompile an app, change the png graphics you want, look for the xml files with text color values and change them. Then recompile the app.
For doing that you need a program to decompile. Try apktool, apk multitool or apk manager. There's lots of tutorials and the files that need to be edited depend on each app. So yeah, use google, use the search.

Dear friends. I already know I must decompile Apk file and edit it. So I dont know which xml file includes background and font, etc. colours.
Also I know changing PNG files in apk, so I am asking to change colours of apk.
I use search and don't find anything useful.
Thank you...

Styles.xml
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________

But the bg can be in layout also
So lemme tel you the most importatnt thing
PLAY
If you play with files
You can achieve cool hacks und mods
Sent from my GT-S5830 using xda premium

Thank you for your support... But
CoolCatGetHome said:
But the bg can be in layout also
So lemme tel you the most importatnt thing
PLAY
If you play with files
You can achieve cool hacks und mods
Click to expand...
Click to collapse
I'm playing files since i have a symbian device and going on android. And i also change png files of apps succesfully. But this thing is not a png or other picture file. It must be hex code of colour.
So i extracted a lot of xml files and opened in different xml editors and didn't see any hex code. I also tried Xml to txt converter but didn't get a result.
Is there anyone who has knowledge about that...
Thank you..

msahin061 said:
I'm playing files since i have a symbian device and going on android. And i also change png files of apps succesfully. But this thing is not a png or other picture file. It must be hex code of colour.
So i extracted a lot of xml files and opened in different xml editors and didn't see any hex code. I also tried Xml to txt converter but didn't get a result.
Is there anyone who has knowledge about that...
Thank you..
Click to expand...
Click to collapse
You should use a tool to like APKtool to open up the APK's. Then you'll start to see hex. values

** sometime app bg isnt there and needs adding like
Android:background>@drawable/bgofcoolnes<
Some like that must be added to some lines for.bg
And it has guides on xda
Search in galaxy 3 sections
Sent from my GT-S5830 using xda premium

CoolCatGetHome said:
** sometime app bg isnt there and needs adding like
Android:background>@drawable/bgofcoolnes<
Some like that must be added to some lines for.bg
And it has guides on xda
Search in galaxy 3 sections
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I will look for it. My connection is very slow now. Thank you very much :good:

Related

Change statusbar color

Is there a way to change the color of the status bar ? Maybe some kind of app ?
Sent from my HTC Hero using XDA
App
yes there are many..
one of them is the search function
I'm gunna dredge this up because if you search "change status bar color" all you end up with is "show your home screen", a million threads on things with a title that has nothing to do with changing status bar colours and this thread.
How about being helpful for the new-to-android types that don't know what metamorph is and provide a link?
blakamin said:
I'm gunna dredge this up because if you search "change status bar color" all you end up with is "show your home screen", a million threads on things with a title that has nothing to do with changing status bar colours and this thread.
How about being helpful for the new-to-android types that don't know what metamorph is and provide a link?
Click to expand...
Click to collapse
I used google and found a link fairly quick but since I'm new and I can't post a link, I guess your just going to need to search using this phrase "how to use metamorph XDA". It should be the first link...
Change statusbar_background.png in framework-res.apk and push it back to your phone in Recovery
Or create a metamorph for it
mangus7175 said:
I used google and found a link fairly quick but since I'm new and I can't post a link, I guess your just going to need to search using this phrase "how to use metamorph XDA". It should be the first link...
Click to expand...
Click to collapse
Yeah, I've done it. I just meant that the reply (especially from someone with a donate button!) to the OP could be more helpful for people new to android.
Since it is possible to change the color of the status bar, is it also possible to change the color of the settings screen? This screen is white on black on my HTC evo (and I think other devices). I would like to change it to black on white or so. I searched a lot, but couldn't find any method how to do this. Thanks again for any ideas!
I guess it is not possible?
Sent from my PC36100 using XDA App
palmdude said:
I guess it is not possible?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
it's all in the framework-res apk
palmdude said:
I guess it is not possible?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
the status bar is an image found in framework-res.apk /res/drawable-hdpi/
statusbar_background.png - status bar image. change it in photoshop to what you like. it's not a "color," so you can change the image to have a shadow, a design, whatever you like.
just keep in mind that if you make it transparent (like i did)...it may not work well with other apps on your phone (i.e. you'll see the apps background through the bar on top, not always a good thing!
dont confuse it with status_bar_background.png, which is the background file for your notification drawer.
UOT Kitchen: http://circle.glx.nl/
yer welcome
Many thanks! I will try to find this in the file you mentioned. Basically I will change that background with white.
Max_Pain said:
the status bar is an image found in framework-res.apk /res/drawable-hdpi/
statusbar_background.png - status bar image. change it in photoshop to what you like. it's not a "color," so you can change the image to have a shadow, a design, whatever you like.
just keep in mind that if you make it transparent (like i did)...it may not work well with other apps on your phone (i.e. you'll see the apps background through the bar on top, not always a good thing!
dont confuse it with status_bar_background.png, which is the background file for your notification drawer.
Click to expand...
Click to collapse
Sent from my PC36100 using XDA App
To change the text colors, you must first find the correct xml file to what you wish to change.
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
status_bar_latest_event_content.xml
status_bar_expanded.xml
status_bar.xml
Click to expand...
Click to collapse
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Thanks guys! I haven't tried it yet, but this is exactly the answer I have looking for !!
Now I just need to find a few hours of free time to learn/do this compiling/decompiling stuff. But I am confident
Sent from my PC36100 using XDA App
Wow I need to try this.
LostEden said:
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Click to expand...
Click to collapse
In these files I can not find options for changing the color of hours.
LostEden said:
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Click to expand...
Click to collapse
decompile or extract? apk manager has two options
NXUS said:
decompile or extract? apk manager has two options
Click to expand...
Click to collapse
You have to decompile to be able to edit xml files. One of those three files mentioned to search for(status bar expand) causes my phone to boot loop when I edit it. Is it linked to some other file that must also be edited?
LostEden said:
Decompile framework-res.apk with ApkManager
go in Folder layout, and search
Edit with Notpad++ the Colors!!
Compile framework-res.apk and Copy new Files in your framework-res.apk Signed File and Copy your Phone!!
Click to expand...
Click to collapse
Can someone please explain how to edit the colors in notepad++ with this method ?
Much thanks !!

[Q] How to mod framework-res.apk and twframework-res.apk

Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
icezar1 said:
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=724778
Get apk manger.I'm trying to do this too.
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
icezar1 said:
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
Click to expand...
Click to collapse
find you find out before keep me updated, and i'll do the same.
icezar1 said:
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Click to expand...
Click to collapse
You can change the battery icons in the framework-res.apk [look in the res/drawable hdpi/stat_sys_battery_x.png
and to change the text color: I was trying to figure that one out last week....From what I figured out you need to modify:
res/layout/status_bar_latest_event_content.xml
Which is found in your framework-res.apk aswell....Decomplie-edit-recomplie....
Good luck
what program are you using to edit your xml's?
chaosjh said:
what program are you using to edit your xml's?
Click to expand...
Click to collapse
apk_manager_4.9 to decomplie-recomplie. Then use notepad to edit
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
No way..
OK, just decompiled-added icons from other decompiled framework-recompiled, no xml edits-installed. Look is changed, battery icons now displaying fine but... force closes and restarts the shell in less than 20 secs...
yup try the winrar method - there is no decompiling.. just copies the images into the *.apk
And shouldn't have any FC's if you try that method.
avgjoegeek said:
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
Click to expand...
Click to collapse
Yeah i changed icon with winRar, and all kinds of crazy stuff happed. Loop boots,and Fc
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
fritzgerald said:
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
dfuse06 said:
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
Click to expand...
Click to collapse
Shoot me a link to the icons you're trying to use. What ROM are you using(name & version). What text are you looking to change? There's not one global change to make all the text different I'll need to know what specifically you're trying to change.
I use the uot kitchen you get the icon on perception 7,but im on 8 now. I'm running perception 7 darknees 2.3 theme, and that is what i'm trying to get the icons on its the battery icon of the android smiley faces it is version j with white numbers. i'm going to look for a link for them.i have the framwork-res.apk with them in it.
When you recompile with APK Manager, a couple of things are very important to do:
1. Hit yes to "system app".
2. Hit yes to restoring the files:
-Open the "keep" folder and delete resources.arsc. Then delete anything you changed (if it's there).
3. Do NOT sign it.
It should work.
PuffinNugz said:
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
Click to expand...
Click to collapse
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
TheEscapist said:
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
Click to expand...
Click to collapse
I just dragged the images from a particular themes framework and dropped them to the new one all within 7zip.

[Q] System font color

Does anyone know how to change system font color? It would be awsome if someone could figure it out or knew how to already. Im on Fasty 2.5 if that means anything lol.
you need apk manager to decompile framework-res.apk to get to the
the xmls and you will need notepad++ to edit them.
they are located here: framework-res.apk/res/color/
zzz_tw_primary_text_dark
zzz_tw_primary_text_light
zzz_tw_secondary_text_sub
Thanks i was able to decompile the framework apk. Lest say i wanted to change the color of the font to red. How might i go about doin that. PS ive looked at the do it your self theming stickys and posts but its a little complicated. Thank you so much for taking the time to help.
studacris said:
you need apk manager to decompile framework-res.apk to get to the
the xmls and you will need notepad++ to edit them.
they are located here: framework-res.apk/res/color/
zzz_tw_primary_text_dark
zzz_tw_primary_text_light
zzz_tw_secondary_text_sub
Click to expand...
Click to collapse
I was able to decompile the xmls but with notepad++ I am still getting nothing. I am using Windows 7.

How to reduce the font in the lockscreen clock???

Hello everyone, I was wondering how shrink the character clock and date on the lock screen ... Can someone explain what to change?
I have the original version 2.3.6 Gingerbread.
I'll post a picture. I edited with Paint to understand the idea.
Who can help me?
Is there anyone could answer at my question?
I
dnasalentino91 said:
Is there anyone could answer at my question?
Click to expand...
Click to collapse
Simple answer, I think no one knows on our forum. See if someone did it with some more popular phone. Like S2, S3... If it is done there, it should be possible for our phone. It need some modding, change in some xml if it is even possible.
I think you should find xml for lockscreen in framework-res.apk, and see if there is possibility for font size change. And after that there is question is there way to put it in place where you put it in picture.
Sent from Galaxy S Advance I9070
So should I do a search in the sections dedicated to Galaxy SII and Galaxy SIII?
dnasalentino91 said:
So should I do a search in the sections dedicated to Galaxy SII and Galaxy SIII?
Click to expand...
Click to collapse
You should search all over xda, for GB TouchWiz modification of that lockscreen. And if you find it, you can't use that, our framework need to be moded like that.
Sent from Galaxy S Advance I9070
it should be in /system/framework/framework-res.apk; unzip it, go into drawable-hdpi, edit files "zzz_unlock_clock_[number].png" to suit your taste, push it into zip, rename to .apk, push to system, change permissions to 644 and reboot
adamuadamu said:
it should be in /system/framework/framework-res.apk; unzip it, go into drawable-hdpi, edit files "zzz_unlock_clock_[number].png" to suit your taste, push it into zip, rename to .apk, push to system, change permissions to 644 and reboot
Click to expand...
Click to collapse
How do unzip a file .apk?
(On your PC) Just use WinZip or 7zip to open the APK file.... Go to your destination folder.. Drag and drop it on where ever you want... Open it.. Make the changes... And put the folder back in... Therefore replacing the original one..
Note that this can be done only for replacing normal PNG or JPEG files.. For editing anything else you will have to decompile the apk and do it
Sent from your Phone using the XDA Developer's app
adamuadamu said:
it should be in /system/framework/framework-res.apk; unzip it, go into drawable-hdpi, edit files "zzz_unlock_clock_[number].png" to suit your taste, push it into zip, rename to .apk, push to system, change permissions to 644 and reboot
Click to expand...
Click to collapse
Thanks for the answer but now it appears so
Please use a Transparent PNG file and the white background should disappear
I think you just resized the original PNG file using something like MS Paint.... Just use Microsoft Office Picture Manager or anything similar for this...
Or use the software tool Fast Stone Image Resizer (sorry I forgot the exact name) for Windows.... Its pretty simple to use..
Its better if you still have the original backup of the original framework-res.apk... Because you can't use your new PNG files as you might need Photoshop or any advanced photo editing software to remove that white background.....
Sent from your Phone using the XDA Developer's app
Sami Kabir said:
Please use a Transparent PNG file and the white background should disappear
I think you just resized the original PNG file using something like MS Paint.... Just use Microsoft Office Picture Manager or anything similar for this...
Or use the software tool Fast Stone Image Resizer (sorry I forgot the exact name) for Windows.... Its pretty simple to use..
Its better if you still have the original backup of the original framework-res.apk... Because you can't use your new PNG files as you might need Photoshop or any advanced photo editing software to remove that white background.....
Sent from your Phone using the XDA Developer's app
Click to expand...
Click to collapse
I just resized the original file ... She says that instead of resize with "Paint" I have to do with other software specific to that type of change?
Photoshop, Gimp... Save it in transparent png.
Послато са GT-I9070 користећи Тапаток 2
@OP: I'm a dude.... I'm a "he"
As I told you before; to only resize your PNG files use Fast stone Image resizer... (google it!!) And for any advanced image editing use GIMP or Pinta (if you find GIMP hard to use)
Sent from your Phone using the XDA Developer's app
Sami Kabir said:
@OP: I'm a dude.... I'm a "he"
Click to expand...
Click to collapse
Oh my god! Sorryyyyyy!!!! I'm using Google Traslator and this sometimes confuses the words

Switch holo dark & holo light theme

As everybody knows, in our android smartphone from 4.0 there is a possibility to switch between holo light and holo dark theme...but without selector on settings, only change some value on system.
Reading around, I have found that maybe we have to modify "androidmanifest.XML" but every apk have one, and I don't know which edit.
I tried to edit from "framework-res.apk" but when I finished and recompiled again, and replace with existing one, I have only a boot loop.....
Someone can help me to understand which file I have to edit for switch from holo.light to holo.dark???
Thanks to everybody....
Inviato dal mio U8800pro con Tapatalk 2
no one can help me to understand??
Maybe I have explained so bad, or really nobody knows how to change the theme?
Well there is no straightforward answer. Some apps declare their theme in the styles.xml inside the values folder. Others do it in the manifest. That's what you need to change. It's app specific. The framework has nothing to do with it
Sent from my One S using Tapatalk 4 Beta
Thanks for your answer, i explain you one thing to understand better:
The same ROM has been created in white (holo.light) and in dark gray (holo.dark). If i explore all the System apk, in androidmanifest.xml there is the value "holo.light" in white rom, and "holo" in dark version....
You can tell me to replace the androidmanifest.xml with existed one, but if i do it, i have a bootloop, i have tried to edit it, and i have the same problem, but if i change the entire apk, it work perfectly and change the apk theme color.....why this???
And finally, all the applications i download from the market, are not personalized with a single theme, it turns white or black depending on a value that tells him to become white or dark, which is the same, in my opinion, that runs the Rom in white or dark.
Which is this value, and where i can find it???
Don't change the whole manifest. Only that line. And remember, there WILL be parts of the app which will not look right.
Sent from my One S using Tapatalk 4 Beta
You would need to go through all the .xml files in systemui.apk and framework-res.apk and change all the image redirections. Or make a cm theme apk
Sent from my Droid Incredible using xda premium
Chris95X8 said:
Don't change the whole manifest. Only that line. And remember, there WILL be parts of the app which will not look right.
Sent from my One S using Tapatalk 4 Beta
Click to expand...
Click to collapse
I have tried both replacing the entire "AndroidManifest.xml", and change only the individual lines where it was written "HOLO.LIGHT" and made ​​him "holo" (deleting the word "light"), but the result is always the same: with the "framework-res.apk" does not start the rom, with any other apk (settings.apk for example) I do not install the apk.
Shakes27 said:
You would need to go through all the .xml files in systemui.apk and framework-res.apk and change all the image redirections. Or make a cm theme apk
Sent from my Droid Incredible using xda premium
Click to expand...
Click to collapse
You think is a redirections problem??? The images there are all on "res/drawable-hdpi" and cheking both xml files (ROM HOLO AND ROM HOLO LIGHT) there are not differences except the lines where is writed "Holo" on dark theme, and "holo.light" in white theme.
If someone want help me, i can send in private the same apk you want, version dark, and version white, so you can help me to understand......
Is there anyone????
cuvetto said:
Is there anyone????
Click to expand...
Click to collapse
what you are asking to do is very very complicated. there isn't an easy answer. you would have to retheme every single app on your phone. plus changing manifest won't work....especially if an app is only coded for holo dark...but the major problem is that no developer follows google style designs 100%, not even google at the moment.
cuvetto said:
Is there anyone????
Click to expand...
Click to collapse
after pushing framework-res.apk into your phone, go to recovery and try fixing permissions.
Check this thread
http://forum.xda-developers.com/showthread.php?t=2220549

Categories

Resources