[Q] CM7.2 Settings.apk header image - Android Q&A, Help & Troubleshooting

Hello,
Where can I find the header image of Settings.apk ? or is it solid color ? I just want to change it to black, and also if it's possible, I want to center the text.
Im quite new to the modding (theming).

themike007 said:
Hello,
Where can I find the header image of Settings.apk ? or is it solid color ? I just want to change it to black, and also if it's possible, I want to center the text.
Im quite new to the modding (theming).
Click to expand...
Click to collapse
The header is prob a PNG in one of the drawablea folder.. For centering the text you need to find the XML which prob about_phone.XML and see if it points to a layout.. Then find the layout and it should have an area where you can adjust that text
Sent from my SCH-I605 using xda app-developers app

Related

What file, what resource to modd these colors ?? Help !!

Hello ...
I've been searching a lot and didn't found where I can modify the date color (the one that appears when pull down status bar), the notifications color (also when pull down status bar), and the icon label color. See attached files.
I've been searching in framework-res, twframework-res, policies.jar and services.jar and also in LauncherPro.apk: there are related stuff but nothing moves ... It's a mess, some resources are defined in more than 1 file so we don't know which is the good one !
Nothing very important but ... if someone knows I would apeciate as I don't like white neither green colors on phone
Thanks !!
sambastrakan said:
Hello ...
I've been searching a lot and didn't found where I can modify the date color (the one that appears when pull down status bar), the notifications color (also when pull down status bar), and the icon label color. See attached files.
I've been searching in framework-res, twframework-res, policies.jar and services.jar : there are related stuff but nothing moves ... It's a mess, some resources are defined in more than 1 file so we don't know which is the good one !
Nothing very important but ... if someone knows I would apeciate as I don't like white neither green colors on phone
Thanks !!
Click to expand...
Click to collapse
I am not sure, but you can try this:
1) unpack the twframework-res.apk/framework-res.apk...unpack not extract, so that you get readable xml files,
2) In those files, there are options to change color most probably...
dharamg3 said:
I am not sure, but you can try this:
1) unpack the twframework-res.apk/framework-res.apk...unpack not extract, so that you get readable xml files,
2) In those files, there are options to change color most probably...
Click to expand...
Click to collapse
yes, I already search in these files and made some modds for others colors aspects. I'm using a tool to decompile/recompile/build which work well. But ... no effects on the notifications area and I didn't found where is the resource for icon label color ...
if u decompiled the framework-res.apk and twframework-res.apk look into res/values/styles.xml and res/colour folder most of the font colours are placed there....... alternately u can try assigning the colours in res/values/colour.xml and see if it helps....
deadwood01 said:
if u decompiled the framework-res.apk and twframework-res.apk look into res/values/styles.xml and res/colour folder most of the font colours are placed there....... alternately u can try assigning the colours in res/values/colour.xml and see if it helps....
Click to expand...
Click to collapse
Thanks for theses ideas, I did it for pulldown status. But, nothing for the icon label color ... Just found the icon menu label.
thanks again.

CM7 Notification bar color

Hey guys does anyone know how to edit the color of the notification bar.
In a CM7 theme apk?
MONKY_1 said:
Hey guys does anyone know how to edit the color of the notification bar.
In a CM7 theme apk?
Click to expand...
Click to collapse
You'll have to swap the png for it in framework-res.apk (pull it and change the color so you keep it the right size) I'm not sure what its named in cm7 but it shouldn't be hard to find. Once you edit the png just drop it back into the zipped fill using winrar or 7zip. An easier way would be to edit the color in UOT kitchen, you can edit that single file.

[Q] Name of the png file of settings header

Hi! I've pretty recently started theming and I am just wondering what is the png file og the (usually) grey bar on top in the settings? I really want to edit it, but all the different pngs I've tried seem to be wrong, could someone please help me? If you look at pic on the top right here: http://forum.xda-developers.com/showthread.php?t=1003381 here it's black: http://forum.xda-developers.com/showthread.php?t=932377

Can anyone retheme statusbar?

Hey guys,
I need help from you!
I've got a rom with cyanogenmod 7 base(mdpi resolution) and i wanted to retheme statusbar, but i won't work, as statusbar won't show :crying:
I wanted to change the following things:
Center Clock
Statusbar blue colored
White Clock/Texts
blue dropdownmenu
Can anyone do that for me, i will give him the systemui.apk and framework-res.apk if he want's to do that, please help, it's for a big project called CloudOS! But i can't run it, (de)compile works and didn't gives errors, but statusbar won't show
Thank you,
Glenn
i am not an experied developer but maybe you forgot to set the permissions of the files...
Sorry for my bad englisch
I didn't do much theming when I was in CM7. I know you can change notification drop-down colour but I don't know about status bar colour and others. Anyway, try theme by TeamCarbon in play store. They are best themers and they mod as much as available.
Yes it can be done. You will have to edit the layout xmls to do it.
Sent from my Inspire 4G using Tapatalk 2
I can probably do it, but you have to explain what kind of blue you want. Also if you want any sort of gradients or fading or something
Edit: also, what do you mean with drop down menu, which part of it ?
Sent from my HTC One S using xda app-developers app

[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!

Categories

Resources