[Q] Change Font color in ROM? - Android Q&A, Help & Troubleshooting

Hello all,
I'm trying to build a ROM which has a dark theme but the problem is that you of course can't read black text on a dark grey background, in which files can you change the font colors, is it in the framework-res.apk XML's or somewhere else?
Thanks in advance.

DonUber said:
Hello all,
I'm trying to build a ROM which has a dark theme but the problem is that you of course can't read black text on a dark grey background, in which files can you change the font colors, is it in the framework-res.apk XML's or somewhere else?
Thanks in advance.
Click to expand...
Click to collapse
While you can change the fonts (you will need to edit around 60 xmls in the framework, settings, systemui and any device framework file like com.HTC.resources.apk) you will still run into black on black with 3rd party apps and there is nothing you can do about it short of editing every apk.

zelendel said:
While you can change the fonts (you will need to edit around 60 xmls in the framework, settings, systemui and any device framework file like com.HTC.resources.apk) you will still run into black on black with 3rd party apps and there is nothing you can do about it short of editing every apk.
Click to expand...
Click to collapse
Ok, thanks, then maybe it's better to put work in a light theme instead of the impossible font color changing job

sounds so hard

Related

[Q] change color of the volume bar?

Hi guys! I finally finished assembling a framework for my mini .... but I miss a small detail. the volume bar that appears when I press the side buttons is blue. could you tell me what to change in the framework, if I have to replace some png image? or do I act on the framework of some app?
mercuriox85 said:
Hi guys! I finally finished assembling a framework for my mini .... but I miss a small detail. the volume bar that appears when I press the side buttons is blue. could you tell me what to change in the framework, if I have to replace some png image? or do I act on the framework of some app?
Click to expand...
Click to collapse
res/drawable/progress_horizontal.xml - there You can change the color code for progress bar color.
draco_ag said:
res/drawable/progress_horizontal.xml - there You can change the color code for progress bar color.
Click to expand...
Click to collapse
thanks for the help Draco but I have a final piece of advice....how should I edit the xml file to change the color from blue to green? I use a particular program?
mercuriox85 said:
thanks for the help Draco but I have a final piece of advice....how should I edit the xml file to change the color from blue to green? I use a particular program?
Click to expand...
Click to collapse
Use APK manager to decompile resources.
Use any text editor to edit mentioned XML file.
Compile framework, and its done
draco_ag said:
Use APK manager to decompile resources.
Use any text editor to edit mentioned XML file.
Compile framework, and its done
Click to expand...
Click to collapse
thanks!!!

[Q]notification/taskbar dim icons.

hello,
why my galaxy s3 status bar icons like clock,operator signals and wifi signals are always remain some grey/dim these are not bright white ?
can i change them to white?
AW: [Q]notification/taskbar dim icons.
fktiwana said:
hello,
why my galaxy s3 status bar icons like clock,operator signals and wifi signals are always remain some grey/dim these are not bright white ?
can i change them to white?
Click to expand...
Click to collapse
Yeah, they are normally grey at StockROM. If you want to have the normal statusbar, like on the Nexus, I can advise you CyanogenMod, ParanoidAndroid or SuperNexus. These are CustomROMs and built by the Source Code of Google, that means that these CustomROMs have nothing to do with Samsung.
When you want to stay at StockROM (Samsung's preinstalled ROM/Firmware) I can advise you to root your phone, flash Philz Recovery and cook your SystemUI.apk, framework-res.apk and TouchWizUI.apk on UOT-Kitchen (the description is on the mainsite)... UOT Kitchen is a site where you can replace some elements of the design.
Your warranty will be lost at both things!
BACKUP THESE APKs BEFORE APPLYING THAT! WHEN YOU DON'T BACKUP THESE FILES YOU MUST REFLASH YOUR STOCKROM TO GET THE NORMAL DESIGN BACK!!!
Click here to enter the UOT-Kitchen:uot.dakra.lt
Greetings...
Sent from my GT-I9300 using xda app-developers app
my galaxy s3 android version is jelly bean 4.1.2 so can i expect that color of clock,operator n wifi signals will be changed to bright white in next update like 4.2?
fktiwana said:
my galaxy s3 android version is jelly bean 4.1.2 so can i expect that color of clock,operator n wifi signals will be changed in next update like 4.2?
Click to expand...
Click to collapse
nope
is there any change in s4 status bar clolor icons?
fktiwana said:
is there any change in s4 status bar clolor icons?
Click to expand...
Click to collapse
nope
Status bar autodimming solution
Hi, guys!
The solution is simple:
Decompile SystemUI.apk
Navigate to res/values/dimens.xml
You'll find a dimen item called status_bar_icon_drawing_alpha
In Samsung roms you'll also have tw_status_bar_icon_drawing_alpha
The value is given in percentages. Android dims the icons by setting their transparency (usually to 65%, Samsung - to 50%)
Increase the number and the dimming will go away.
Note that increasing it to 100% will make them a tad too bright. Use 100% only if using translucent status bar with bright BG.
Recompile and Enjoy
Where is this defined for SCH-I535?
daxgirl said:
Hi, guys!
The solution is simple:
Decompile SystemUI.apk
Navigate to res/values/dimens.xml
You'll find a dimen item called status_bar_icon_drawing_alpha
In Samsung roms you'll also have tw_status_bar_icon_drawing_alpha
The value is given in percentages. Android dims the icons by setting their transparency (usually to 65%, Samsung - to 50%)
Increase the number and the dimming will go away.
Note that increasing it to 100% will make them a tad too bright. Use 100% only if using translucent status bar with bright BG.
Recompile and Enjoy
Click to expand...
Click to collapse
Hi, can you advise the location of this xml in the Verizon S3 SystemUI.apk? Or if it's an entirely different setting outside of the apk? I can't find the path you mentioned. Thanks.
Did you decompile it? How much of the path did you follow?
Sent from my GT-I9300 using Tapatalk 4
I don't see \values in the \res folder. Here's what mine looks like inside of \res:
anim
color
drawable
drawable-hdpi
drawable-sw360dp-xhdpi
drawable-sw600dp
drawable-sw600dp-xhdpi
drawable-sw720dp-xhdpi
drawable-sw800dp-xhdpi
drawable-xhdpi
layout
layout-land
layout-port
layout-sw600dp
layout-sw720dp
layout-sw800dp
menu
raw
xml
drawable does seem to contain the status bar xml's but none that look like they control the icon transparency. Any ideas? I'm on a custom ROM, but it is based on stock TW ROM, if that helps.
The folder is res > values then the file called dimens.xml
They are around row 25 but if you don't see the values folder then you haven't decompiled the apk, are you sure you know what to do
Haha, well I was "cheating" by using Root Explorer to extract, expecting to mod then zip and change .zip extension to .apk. If I need to properly decompile to see the dimens.xml, I'll use APKTool on the PC. Thanks.
Brianakin said:
Haha, well I was "cheating" by using Root Explorer to extract, expecting to mod then zip and change .zip extension to .apk. If I need to properly decompile to see the dimens.xml, I'll use APKTool on the PC. Thanks.
Click to expand...
Click to collapse
That'll only work with images really.
rootSU said:
That'll only work with images really.
Click to expand...
Click to collapse
Hmm, well I finally got around to doing this the right way with apktool (loaded both framework-res.apk and twframework-res.apk, decompiled, changed the status_bar_icon_drawing_alpha and tw_status_bar_icon_drawing_alpha values, then re-compiled), then copied the entire res folder and resources.arsc file from my modded apk back to the original using 7-zip, then pushed back to my phone. Still no change in shade of status bar icons. What could I be doing wrong?
Is it the status bar icons or the clock colour or both you want to change
ag4751 said:
Is it the status bar icons or the clock colour or both you want to change
Click to expand...
Click to collapse
It's the status bar icons, but I finally got this! The part of the guide talking about opening 7zip and dragging changed folders to the original apk structure wasn't working between 7zip windows because the RES folder wasn't overwriting the existing RES folder so it was failing and not telling me. Once I deleted the resources.arsc file and the RES folder from the original apk in 7Zip I could then drag those over. Closed it, pushed it rebooted and finally saw brighter icons on the left side! Many thanks to this forum, all the contributors, and of course all the developers that make all this cool stuff possible! Now on to deciphering the location of all my right side icons and replacing them with brighter versions to match.
Brianakin said:
It's the status bar icons, but I finally got this!
Now on to deciphering the location of all my right side icons and replacing them with brighter versions to match.
Click to expand...
Click to collapse
Look in the SystemUI.apk\res\drawable-xhdpi folder also the clock colour is in the SystemUI.apk\res\layout folder and the tw_status_bar.xml file on this row, changing the colour highlighted in red will change the clock colour, this as you probably know is white yours will probably be #ffa6a6a6 this is a mid to light grey,leave the initial #ff just change the last 6
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:
ag4751 said:
Look in the SystemUI.apk\res\drawable-xhdpi folder also the clock colour is in the SystemUI.apk\res\layout folder and the tw_status_bar.xml file on this row, changing the colour highlighted in red will change the clock colour, this as you probably know is white yours will probably be #ffa6a6a6 this is a mid to light grey,leave the initial #ff just change the last 6
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:
Click to expand...
Click to collapse
Great stuff! Actually I can customize the battery icon and clock color through my ROM settings, but not the wi-fi/data/signal and ringer icons. I have to go to the drawable-xhdpi folder for that, but at least it doesn't require a full decompile/recompile to change out the .png's. Thanks for all the help!

[Q] How can I make all backgrounds transparent?

I'm using CM 10.2 on my GS3 with Xposed and Cobalt theme. Is there a xposed module that will allow me to change system settings background and other default apps bg like the dialer, contacts...etc?
try Xblast, its works on may device :good:
C.E.R.N said:
try Xblast, its works on may device :good:
Click to expand...
Click to collapse
I'm using xblast but only found notification bg.
k00lguy105 said:
I'm using CM 10.2 on my GS3 with Xposed and Cobalt theme. Is there a xposed module that will allow me to change system settings background and other default apps bg like the dialer, contacts...etc?
Click to expand...
Click to collapse
I don't think so. Decompile > Modify > Recompile is your only solution I think.
Primokorn said:
I don't think so. Decompile > Modify > Recompile is your only solution I think.
Click to expand...
Click to collapse
That's not a problem, how do I find the names of each bg so I know what I'm looking for? Also, would I be Decompiling the theme or the system app?
k00lguy105 said:
That's not a problem, how do I find the names of each bg so I know what I'm looking for? Also, would I be Decompiling the theme or the system app?
Click to expand...
Click to collapse
Each background is located into a different apk file and I can't give you all the related names.
• If Colbalt already modifies the backgrounds and you want to change them the easiest way is to decompile the theme then modify and recompile with your backgrounds. (a simply drag & drop should do the trick too with 7zip)
• If Cobalt doesn't modify them you have to decompile the original apk (Dialer, framework-res...) then recompile. Cobalt theme won't affect these modifications.
Primokorn said:
Each background is located into a different apk file and I can't give you all the related names.
• If Colbalt already modifies the backgrounds and you want to change them the easiest way is to decompile the theme then modify and recompile with your backgrounds. (a simply drag & drop should do the trick too with 7zip)
• If Cobalt doesn't modify them you have to decompile the original apk (Dialer, framework-res...) then recompile. Cobalt theme won't affect these modifications.
Click to expand...
Click to collapse
Would there be an option for bg color as RGB code or would I just make transparent images to replace them?
k00lguy105 said:
Would there be an option for bg color as RGB code or would I just make transparent images to replace them?
Click to expand...
Click to collapse
Each apk is different. Some have a hex color to set the background and other use a png file. With a custom theme (via Theme chooser) you can define xml redirections eg remplacing a png file with a hex color to obtain a full transparency.
What is difficult is to find the right file/code. I personally make tests to find some truff to theme.
Ok thank you, so what I'm really looking for is the eye candy of Cobalt with the transparency of HoloGlass so I'm guessing just editing the transparency of cobalt would be the easiest route.
Sent from my SGH-T999 using XDA Premium 4 mobile app

[Q] settings.apk theming

so, i themed settings.apk (i use lollipop -5.0.2-) i themed background from black to white but theres a problem -_- texts are white too. so theyre unreadable. im asking for texts in the settings, where can i change their color?
deezy154 said:
so, i themed settings.apk (i use lollipop -5.0.2-) i themed background from black to white but theres a problem -_- texts are white too. so theyre unreadable. im asking for texts in the settings, where can i change their color?
Click to expand...
Click to collapse
Your gonna have to look in the layouts of the settings apk. Depending on the rom it could be in different places. Some of it will be from the frameworks apks and some will be in the settings apk
zelendel said:
Your gonna have to look in the layouts of the settings apk. Depending on the rom it could be in different places. Some of it will be from the frameworks apks and some will be in the settings apk
Click to expand...
Click to collapse
thanks so much gonna check it. aand also what code should it be i mean like primary text thing or secondary text thing?

notification ui color change

Is there a way to change the color of the notification ui?
I open the "stock android" app today and it changed the color of my notification ui from Grey to blue without messing around with it.
Is there a way to change the color back to the original in the settings somewhere (I've been searching for some hours now, changed theme and all, uninstalled and reinstalled nova and changed nothing) without installing an app for the notification ui?
I have nova launcher installed FYI.
@EmbleerFrith
I think you mean the quick settings background. It changes according to the background you set on your launcher in theory. If you open MiFavor launcher without making it default, then change the background on it, THEN hit the home button to get to the stock Android launcher, it should fix itself. I did that before, and it seems to work
Honestly I'd love to change the whole quick settings UI altogether, but I have no idea how to mod systemUI
I have noticed that it only changes if I change the theme of the phone and only then
Yes There is
Yes there is a way. You have to decompile SystemUI_ZTE.apk and do some smali code color changes. I have mine set to one color all the time.
EmbleerFrith said:
I have noticed that it only changes if I change the theme of the phone and only then
Click to expand...
Click to collapse
I think it changes according to the wallpaper color set in default launcher.
EMSpilot said:
Yes there is a way. You have to decompile SystemUI_ZTE.apk and do some smali code color changes. I have mine set to one color all the time.
Click to expand...
Click to collapse
can you make a guide or something? Maybe theme the B09's (or B35's) systemUI and share it somewhere? This would be a nice addition to @raystef66's ROMs, as an add-on

Categories

Resources