Is it possible to change the color of the menu bar? (is this the correct term for it? circled in image)
I've decompiled the framework and looked though it and searched a bit online at the AOSP docs and general themeing, but none of them mention how to change the background color.
I'm trying to change it so it's black like on gingerbread, that's the last thing missing.
Could anyone provide directions on how to change the color of it?
The rom im using is streakdroid 1.7.0, the framework attached is from that with modifications to make it closer to stock gingerbread.
I posted in this section since I assume that directions to changing it should be applicable to any rom?
if I not mistaken you need to change the menu_background_fill_parent_width.9.png in framework.apk and edit the syle.xml (to edit the text colour)
Related
In last time, i find many threads about MIUI - that good ROM by our friens from East.
After try it, i'm have some good expirience and find some disadvatages for me.
Now, i'm roll back to CM1RC1 but want to ask, how to port next features, as it possible.
1. Which font used in MIUI ROM. Just look on 2 screen from CM and MIUI.
Fonts very similar, but in MIUI ROM placed more words in one line.
2. Status bar and notification area.
I'm interesting what name of the stock theme and how to port it to N1 with CM Mod.
In this theme there are no gaps between the notification. (look screen)
Can it be realize in other mod, or MIUI have very complex changes reletive to stock or CM ROM.
I try to compare framework-res from CM and MIUI and find some difference.
I find that MIUI have additional XML files in drawable directory. But I don't know have to implement it into CM. Can anybody help me?
P.S.
Maybe exist virtual device where i'm can test themes by my experiments.
berliozz said:
1. Which font used in MIUI ROM. Just look on 2 screen from CM and MIUI.
Fonts very similar, but in MIUI ROM placed more words in one line.
Click to expand...
Click to collapse
I believe it's Arial or Helvetica. Not sure.
berliozz said:
2. Status bar and notification area.
I'm interesting what name of the stock theme and how to port it to N1 with CM Mod.
In this theme there are no gaps between the notification. (look screen)
Can it be realize in other mod, or MIUI have very complex changes reletive to stock or CM ROM.
Click to expand...
Click to collapse
It's not a theme, per say. It's part of the UI, like the blackbar and launcher in SenseUI ROMs.
berliozz said:
I try to compare framework-res from CM and MIUI and find some difference.
I find that MIUI have additional XML files in drawable directory. But I don't know have to implement it into CM. Can anybody help me?
P.S.
Maybe exist virtual device where i'm can test themes by my experiments.
Click to expand...
Click to collapse
you want to be looking i believe in the framework-res.apk obviously, i believe it will be in /res/layout/ and look through the status bar xml's, the gap between the notifications will just be a padding value.
for the text fitting beter again, that is likey just be picking the relevent xml files and reducing the font size in them
porting the (say scrolling powercontrol widgets) from the notification bar is a whole other story, i have tried doing this to no avail, i could get things to appear within the notification bar however to get them to function requires a whole lot of smali editing in the services.jar
you make your new png, drop it into the drawable folder, then you have to refrence it in the public.xml, then add it into a layout xml with the necessary configurations such as android_id, paddings, width height ect
wish list
1) Lockscreen : beat anything even in market
2) App manager on recent apps (long press home). I think it also had KILL on one side.
If I understand correctly, for porting the theme i must to:
- Replace the file the main toolbar (status_bar_header_background.9.png)
- Make it transparent (tell me how?)
- Make it possible to use a texture for the background in the dropdown menu of notifications.
a. Put it in the drawable-hdpi (status_bar_background_texture.png)
b. Create a file status_bar_background.xml in drawable folder with below content:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<bitmap android:src="@drawable/status_bar_background_texture" android:dither="true" android:tileMode="repeat"
xmlns:android="http://schemas.android.com/apk/res/android" />
c. declare that in public.xml in the values folder
Code:
<public type="drawable" name="status_bar_background_texture" id="0x010803b3" />
- change gap in the layout files and in the style file (but i can't find where it placed)
After it, files must be compile (can i do it with apktools?) and with Metamorph add to system?
Is that right?
I've had a look through the forums but couldn't see this posted anywhere so here goes, and apologies if this is a repeat or is in the wrong forum.. In CM7 GingerBread you can change the battery icons in the status bar using the UOT kitchen and the framework-res file. The other icons however can't be changed using this method (like they could in CM6.1 FroYo) because the other icons are in a different system file in GingerBread.
Through a lot of digging around i have found the file 'SystemUI.apk' in /system/app/ where most of the other icons are. Also in this apk are the 'battery_low_battery.png', the 'shade_bg.png' and the 'status_bar_close_on.9.png' files which can be changed to files from another Rom after any nesessary re-naming.
The battery_low_battery.png controls the pop-up displayed when the battery gets below 15% and i've changed mine to one from an earlier Rom.
The shade_bg.png is the notification window and can be changed for the one from the SuperGinger Rom for example which has an Android picture on the bottom right (and looks cool i think). There is a transparency effect to the window which may be controlled by a .xml file, i'm not sure because i'm using the SuperGinger Rom which had it as a default.
The status_bar_close_on.9 is the notification window pull-down bar and i've changed mine for the 'status_bar_close_on_cust.9.png' from the cm6.1 Rom which has a CM logo in the centre.
All these image files and loads more like signal strength, bluetooth, wi-fi, flight mode etc, etc can be found in res/drawable-mdpi/ of SystemUI.apk.
The .apk can be modified using Android Design Editor V2 (credits to it's creator) (Google search...) and be pushed back from recovery using a flashable zip or ADB (i can vouch for a flashable zip created with Update-Zip-Packager.. credits to it's creator) (again Google search...)
I hope all this will be of use to some and thanks and credits to the Rom creators, cooks and devs, to XDA Developers and all the other contributors on here.
Peace and happy tinkering.
HTC Legend.
Thanks for that info I wasn't sure which file is the notification window bg in CM7, now I know.
Hey,
can someone tell me how i get the white notificationbar like in the older versions (froyo, eclair...)
i can´t find any post on the internet about that and an old theme does´nt work work for me...
sorry for my english
IF you are using CM based roms, the option is inbuilt to change your status bar colours.
IF you want to do it in a stock rom, you need to replace the png file "statusbar_background.9.png" in the /res/drawable-hdpi folder in the Systemui.apk app. You will also need to make xml and smali edits to make your text black so that it shows up on the white statusbar.
Does anyone know how to enable overscroll glow on galaxy tab in stock rom 2.3.3?
I looked for it in some forum, but I only found some files to flash with recovery which are not for galaxy tab and this rom.
It's enabled on overcome RC1, So someone should know how to do it.
Thanks in advance.
Probably a change in the framework, which would need a deodexed rom, which means it won't work on stock.
I could be wrong though.
The weird thing is the over scroll glow still shows some places, like in the browsers bookmarks list.
GldRush98 said:
Probably a change in the framework, which would need a deodexed rom, which means it won't work on stock.
I could be wrong though.
The weird thing is the over scroll glow still shows some places, like in the browsers bookmarks list.
Click to expand...
Click to collapse
I think you are right, it's in the framework.jar, but I didn't know it doesn't work on stock rom. So I decided to flash overcome RC1. The overscroll glow is enabled in this rom and you can even change the color by changing two image in the framework-res.apk
thanks for your help.
As soon as Overcome integrates a OC/UV kernel with smartass cpu governor, I will probably make the jump to Overcome.
sohrab1985 said:
Does anyone know how to enable overscroll glow on galaxy tab in stock rom 2.3.3?
I looked for it in some forum, but I only found some files to flash with recovery which are not for galaxy tab and this rom.
It's enabled on overcome RC1, So someone should know how to do it.
Thanks in advance.
Click to expand...
Click to collapse
if you go to setting you will already see that it has overscroll glow (orange like color)
if you need to create your own color use uot kitchen(change animation,battery,icons ..etc)
you will need to upload these two files framework-res.apk and SystemUI.apk.
for the link
http://uot.dakra.lt/kitchen/
Good Luck
semsem1969 said:
if you go to setting you will already see that it has overscroll glow (orange like color)
if you need to create your own color use uot kitchen(change animation,battery,icons ..etc)
you will need to upload these two files framework-res.apk and SystemUI.apk.
for the link
http://uot.dakra.lt/kitchen/
Good Luck
Click to expand...
Click to collapse
That's an interesting website. It makes it so easy to change your theme.
Thanks mate.
Hi i would like some help which would be nice from any Theme Creator or Dev because they will probably know where to look.
So can anyone tell me which files need to be changed to make the volume & brightness bars in quicksettings pulldown bar to change the bar color? i have changed the color via framework, system ui or htc res, rosie, settings files but.... not sure which files i changed in what location that did that?
Also which file do i need to locate to change the button pressed on the home screen? Cause i wanna get rid of the green sense look to my phone, my phone is looking pretty modded & i know how to use Photoshop to change PNGs & know how to mod APKs too.
Any help would be great i have tried the search bar on here & also in google but didnt get any results & to be honest i know people on XDA will know this.... thanks in advance
The progress bar color in quick settings is defined by this file: common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi)
Are you using a Gingerbread 2.3.5 or Sense 3.5 rom? If yes, the button press color in the homescreens can't be changed. At the moment all available tools fail with decoding the images.
In Sense 2.1, you have to edit Rosie.apk. For Sense 3 (+ GB 2.3.3 or .4), fusion.apk has to be edited with m10 tool.
I can give you more details if you want to.
Thanks
Thanks for that but i cant locate it in my system ui/res/drawable-hdpi? i tried looking in htc/rs/draw-hdpi too? cant find that common_progress_full.9.png? could you check again for me or if have time upload the file? i cant see why it would be missing though?
I havent had a chance to mess with the m10 editor? is it easy enough to use when editing the fusion.apk?
I love XDA.... its the best for phone modding & has many helpful members
sigurd_LU said:
The progress bar color in quick settings is defined by this file: common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi)
Are you using a Gingerbread 2.3.5 or Sense 3.5 rom? If yes, the button press color in the homescreens can't be changed. At the moment all available tools fail with decoding the images.
In Sense 2.1, you have to edit Rosie.apk. For Sense 3 (+ GB 2.3.3 or .4), fusion.apk has to be edited with m10 tool.
I can give you more details if you want to.
Click to expand...
Click to collapse
I have changed the button press & also found the common_progress_full.9.png from another rom but if you or anyone else can post your common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi) so i can try there one cause the progress bar isnt looking normal? it looks mis-shapen? Thanks again
What Rom are you using? Could you upload your SystemUI, so I can take a look
sigurd_LU said:
What Rom are you using? Could you upload your SystemUI, so I can take a look
Click to expand...
Click to collapse
I am running LeeDroid 3.3.3 but with sense add-on & my own custom red or colored icons & look! I uploaded my Sys UI, take a look for me? but i dont think i it will work? it maybe something to do with the rosie? my bars in quick settings dont look solid any more, i can live with it though, pics attached.
deanr1977 said:
I am running LeeDroid 3.3.3 but with sense add-on & my own custom red or colored icons & look! I uploaded my Sys UI, take a look for me? but i dont think i it will work? it maybe something to do with the rosie? my bars in quick settings dont look solid any more, i can live with it though, pics attached.
Click to expand...
Click to collapse
Your issue us a bad. 9.PNG it looks like you tried to edit it without decompiling the apk and running the new image threw the draw9patch tool
zelendel said:
Your issue us a bad. 9.PNG it looks like you tried to edit it without decompiling the apk and running the new image threw the draw9patch tool
Click to expand...
Click to collapse
what would you recommend i do? is there a solution or is it stuck this way for good?
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
goran60 said:
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
Click to expand...
Click to collapse
be a little more specific on what your using(rom, sense version,etc.)
rayford85 said:
be a little more specific on what your using(rom, sense version,etc.)
Click to expand...
Click to collapse
He wants a fully transparent rosie for RCMix Runny. I have something for you Have a look in my thread: http://forum.xda-developers.com/showthread.php?t=1291351
sigurd_LU said:
He wants a fully transparent rosie for RCMix Runny. I have something for you Have a look in my thread: http://forum.xda-developers.com/showthread.php?t=1291351
Click to expand...
Click to collapse
Nice work!!! Please tell me how you got it to work on runny. I would love to include this in my mods.
Sent from my Desire HD using XDA App
rayford85 said:
Nice work!!! Please tell me how you got it to work on runny. I would love to include this in my mods.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
You have to load the Rosie.apk with m10 editor, then decompile the Rosie_navbar.m10 file and change the following opacity values from 1 to 0.0099999998. If you set them to 0, pressing on the buttons will have no effect.
thanks for this
MarylandCookie said:
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Click to expand...
Click to collapse
Do you mean the volume bars? if so just goto the UOT Kitchen & chage them in there, then flash them over your rom, or put the changes of your framework & system ui into your rom zip & flash your rom again?
goran60 said:
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
Click to expand...
Click to collapse
Look here for rosie modding - http://forum.xda-developers.com/showthread.php?t=1210143
I have solved this thread problem if anyone has the same just change the common_music_progress_fill.9 this will change the volume bars in the status menu.
Hope this helps
MarylandCookie said:
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Click to expand...
Click to collapse
Progress_horizontal.xml in the drawable folder of framework-res.apk has to be changed
sigurd_LU said:
Progress_horizontal.xml in the drawable folder of framework-res.apk has to be changed
Click to expand...
Click to collapse
Nice one... only just seen your message lol
Fixed it as above