Okay so I am slowly diving into theming and decided to look into some XML edits. My goal is to make some edits to the status bar and move the clock to the center, notification icons to the right, and signal and battery icons to the left. Here are the steps that I took:
1. Using APK Manager, I placed the SystemUI.apk from Humble 5.0 in the place-apk-here-for-modding folder
2. Selected the apk using TWframework-res as a dependency and then decompiled systemui.
3. Navigated to projects/SystemUI.apk/res/layout and clicked edit on the status_bar XML file.
4. Went to the line containing com.android.systemui.statusbar.IconMerger and changed androidaddingLeft="6.0dip" to Right and changed android:layout_alignParentLeft="true" to Right
5. Changed the line containing android:id="@id/statusIcons from androidaddingRight="6.0dip" to Left and changed android:layout_alignParentRight="true" to Left.
6.Changed the line containing com.android.systemui.statusbar.Clock from androidaddingLeft="6.0dip" to Center and left the rest of the line alone.
Can anyone with more knowledge of XML edits help shed some light on whether or not this will do what I am looking to accomplish or if there is more to it than making these little changes? I'd eventually like to find a way to move the status bar to the bottom of the screen similar to the Nook Color but I gotta take this one step at a time, haha. Any insight is more than appreciated!
Lockett said:
Okay so I am slowly diving into theming and decided to look into some XML edits. My goal is to make some edits to the status bar and move the clock to the center, notification icons to the right, and signal and battery icons to the left.
Click to expand...
Click to collapse
You need to change a lot more than just that. Give me a few minutes and I'll link you to a guide. I was able to use this guide to get the following changes:
Centered clock
Icons on the left
Notifications on the right
Only problem with my results is that the notifications overlapped the clock.
Here's the guide:
http://forum.xda-developers.com/showthread.php?t=1361715
Make sure you "thank" TheGrammarFreak for the write up!
Sent from my SCH-I510 using Tapatalk
spc_hicks09 said:
You need to change a lot more than just that. Give me a few minutes and I'll link you to a guide. I was able to use this guide to get the following changes:
Centered clock
Icons on the left
Notifications on the right
Only problem with my results is that the notifications overlapped the clock.
Here's the guide:
http://forum.xda-developers.com/showthread.php?t=1361715
Make sure you "thank" TheGrammarFreak for the write up!
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
Yeah. The only way around this is to give the notification icons a background color instead of having them just be transparent.
Endless2232 said:
Yeah. The only way around this is to give the notification icons a background color instead of having them just be transparent.
Click to expand...
Click to collapse
Hey if you're available I'm gonna hit you up on gtalk sometime tomorrow cuz I need some serious help with this statusbar background lol. I can't get anything to work haha.
Sent from my SCH-I510 using Tapatalk
Yea I figured it was much more involved. Thanks for the link spc, I'll post up a screenshot once I figure all this out. Once I get the hang of this I may even try to get notification icons to work using Statusbar+. I think its very clean looking and, since I'm going for the WP7 look, it's a WP7 status bar but doesn't support notifications.
Sent from my SCH-I510 using XDA App
spc_hicks09 said:
You need to change a lot more than just that. Give me a few minutes and I'll link you to a guide. I was able to use this guide to get the following changes:
Centered clock
Icons on the left
Notifications on the right
Only problem with my results is that the notifications overlapped the clock.
Here's the guide:
http://forum.xda-developers.com/showthread.php?t=1361715
Make sure you "thank" TheGrammarFreak for the write up!
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
yeah thats about as close you can get to center clock mod without diving into smali
the mod used in tsm parts and other apps like that is different and puts the clock in the center in a different fashion and doesnt overlap, but will still be present when u use the pulldown
Lockett said:
Yea I figured it was much more involved. Thanks for the link spc, I'll post up a screenshot once I figure all this out. Once I get the hang of this I may even try to get notification icons to work using Statusbar+. I think its very clean looking and, since I'm going for the WP7 look, it's a WP7 status bar but doesn't support notifications.
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Let me know if you figured it out. If not I can let you know how to do it.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Related
Anyone look at porting over Formels (N1 Forum) glass status bar to the incredible. I would jump at it but I really do lack the xml editing that I think is needed. I have tried to just replace the statusbar png in framework-res and it work for some apps but it is not consistent. Im willing to help in anoyone out with completing this project. I just need some help.
craigmack said:
Anyone look at porting over Formels (N1 Forum) glass status bar to the incredible. I would jump at it but I really do lack the xml editing that I think is needed. I have tried to just replace the statusbar png in framework-res and it work for some apps but it is not consistent. Im willing to help in anoyone out with completing this project. I just need some help.
Click to expand...
Click to collapse
Would you care to provide a link of whatever you are reqeusting?
Good chioce....i would like to have that status bar
Sent from my ADR6300 using XDA App
deficitism said:
Would you care to provide a link of whatever you are reqeusting?
Click to expand...
Click to collapse
Check it out: http://forum.xda-developers.com/showthread.php?t=638659
if youre still using sense, just do a color invert in the statusbar png so it'll be white and then start making it transparent. that looks like its at a pretty high amount of transparency. if youre using CM6, it should be as easy as copy and paste from that framework to yours.
how do you make it transparent
Sent from my ADR6300 using XDA App
I can get the status bar to be transparent on most apps. My problem really is on my calendar. It is showing up with a "USB Debugging" every single time. I have attached photos to show you guys what I see. I have also included the png's I am using to get the statusbar transparent.
PS. They are located in framework-res.apk/res/drawable-hdpi-v4.
Let me know how everyone elses looks. Any help to get this fixed for everyone is greatly appreciated.
did anyone ever get this working? really wanna try this
SLOflatlander said:
did anyone ever get this working? really wanna try this
Click to expand...
Click to collapse
+1
send from my old school work PC, with a pimped out CRT monitor that weighs 120 lbs.
I'd love to see the Glass status bar that turns black when entering an app
I was wondering if there is a way to reverse icon colors in the status bar. I just downloaded a black status bar and a lot of the icons blend into the black bar (if that makes sense).
If anyone can help me out, thanks. I don't know anything at all about coding and very little about the root process, so a Metamorph option would be the easiest way for me, although I can figure out theming.
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
rori~ said:
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
Click to expand...
Click to collapse
I saw those. I wasn't quite sure if it changes the Messaging, Gmail, Voice and other icons since all I see is the USB and USB Tethering icons. Do you know if those are changed?
Haven´t checked that...best, open file and have a look before you morph.
rori~ said:
Haven´t checked that...best, open file and have a look before you morph.
Click to expand...
Click to collapse
Wow that is a great idea. I never thought of that haha (still brand new to this stuff). Well, unfortunately it doesn't have icons for Messaging, Gmail and a few others. Thanks for the idea though. Now I know I can check.
Any other ideas?
Anyone know of anything else to do?
Shameless bump because I really want this.
There is a desire morph around somewhere, locate the files or images you want and I can make a morph, just need to know what rom and icons.
Also bumping. Now that CM has theming, I think someone should have one out.
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Made this one a while back...
http://forum.xda-developers.com/showthread.php?t=766561
martin0285 said:
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I checked out ninja morph. You're right, it does exactly what you said...EXCEPT you have to modify every icon individually, which ends up being an enormous pain.
Also, I could have missed something but how do you inverse icons directly on the phone? I looked around and still couldnt find anything. Ended up transfering them to the pc and editing them from there.
In the end, I'm just amazed that android doesn't have a unified icon / theming system yet. To edit messages, you have to go in to mms.apk (took me forever to figure that one out), to edit gmail you have to look in gmail.apk, system icons were in framework, etc. What a pain.
I've been theming small aspects of JVB, specifically Perception II. I've tried to theme the background of the music controls inside the status bar drawer. On Froyo ROMs, I could just throw a modified png into the zip. Now, I do that and it's still purple. I even decompiled and recomplied with the new pngs, but it doesn't work. Any ideas on what to do? I attached the modded files below. Thanks!
Are you replacing the ones in twframework-res.apk?
Sent from my GT-I9000 using XDA fap
modest_mandroid said:
Are you replacing the ones in twframework-res.apk?
Sent from my GT-I9000 using XDA fap
Click to expand...
Click to collapse
Of course. I opened them in Photoshop and edited and put them back into twframework. Thing is, I've done this before very successfully modifying themes on Froyo.
Wacky.. dunno dude, I'll give it a shot later tonight and see if I can get it to work if the wife doesn't burglarize all my time.
modest_mandroid said:
Wacky.. dunno dude, I'll give it a shot later tonight and see if I can get it to work if the wife doesn't burglarize all my time.
Click to expand...
Click to collapse
Wow thanks a lot man
Yeah, that's weird.. changing the png's doesn't seem to affect what actually shows up. Makes you wonder if it's grabbing them from somewhere else entirely..
Edit: I was right! Check out /system/app/MusicPlayer.apk, it has it's own set of status bar png's. I haven't tried replacing them myself yet, but I have a strong feeling that those are the ones you should be changing as opposed to the ones in twframework-res.apk. Samsung seems to enjoy scattering their graphics around.. there are also a couple pertinent to the status bar and dropdown shade in SystemUI.apk and Phone.apk.
Good luck, dude! Let me know if those were the correct ones!
modest_mandroid said:
Yeah, that's weird.. changing the png's doesn't seem to affect what actually shows up. Makes you wonder if it's grabbing them from somewhere else entirely..
Edit: I was right! Check out /system/app/MusicPlayer.apk, it has it's own set of status bar png's. I haven't tried replacing them myself yet, but I have a strong feeling that those are the ones you should be changing as opposed to the ones in twframework-res.apk. Samsung seems to enjoy scattering their graphics around.. there are also a couple pertinent to the status bar and dropdown shade in SystemUI.apk and Phone.apk.
Good luck, dude! Let me know if those were the correct ones!
Click to expand...
Click to collapse
Is SystemUI.apk new to Gingerbread? I'll look into it.
God THANK YOU, that's an amazing find and so useful to me! I am SO GRATEFUL. Damn, Samsung isn't the most efficient company of coders. Putting lockscreen music control backgrounds in framework-res and status bar ones in music apk? Wow.
SystemUI.apk handles all the notification bar/dropdown stuff and all of those images are used instead of what's in twframework-res.apk now (GB).
The background and buttons for the dropdown are in MusicPlayer.apk though. Crazy.
So apparently the toggle PNGs in SystemUI.apk are locked, so they cannot be edited in Photoshop and lose their transparency. Sucks....
Yeah, kinda sucks. I grabbed a screenshot of Explorer with large thumbnails, copied each one and inverted them so they're smoothed to black background, made black transparent, then changed the color. It works out ok I guess.
CuriousTech said:
Yeah, kinda sucks. I grabbed a screenshot of Explorer with large thumbnails, copied each one and inverted them so they're smoothed to black background, made black transparent, then changed the color. It works out ok I guess.
Click to expand...
Click to collapse
They still turn out jagged because the originals, using transparency, are smoothed. I think I can get someone to fix that...
If anyone is interested, I am recreating a lot of the elements by hand. It's HARD OH MY GOD, some pieces require 7 layers of separate transparencies i have to match to the originals. But I'm making a theme, just modded stock for now but I'll be working on it for a while. I'll make a thread soon!
So ALL the battery icons are locked... I downloaded a random GB theme and took out the battery icons, and those are locked too. Decompiled framework, still locked. What the hell???? How do I mod them?!
I figured most stuff out now. Except how to change the status bar background. I put it into SystemUI.apk (2 different names), framework, and twframework. Nothing works. Any clues?
Haloruler64 said:
So ALL the battery icons are locked... I downloaded a random GB theme and took out the battery icons, and those are locked too. Decompiled framework, still locked. What the hell???? How do I mod them?!
Click to expand...
Click to collapse
How'd you solve this?
Haloruler64 said:
I figured most stuff out now. Except how to change the status bar background. I put it into SystemUI.apk (2 different names), framework, and twframework. Nothing works. Any clues?
Click to expand...
Click to collapse
Check SystemUI.apk drawable-hdpi directory, also check the values directory, there's one xml in there that defines the background color for the dropdown shade.
Edit: nevermind, changing that xml does nothing
Haloruler64 said:
Is SystemUI.apk new to Gingerbread? I'll look into it.
God THANK YOU, that's an amazing find and so useful to me! I am SO GRATEFUL. Damn, Samsung isn't the most efficient company of coders. Putting lockscreen music control backgrounds in framework-res and status bar ones in music apk? Wow.
Click to expand...
Click to collapse
Half of it is left over Google crap, half of it is left over Samsung Froyo crap, and half of it is actually being used.
It's quite the mess.
Haloruler64 said:
If anyone is interested, I am recreating a lot of the elements by hand. It's HARD OH MY GOD, some pieces require 7 layers of separate transparencies i have to match to the originals. But I'm making a theme, just modded stock for now but I'll be working on it for a while. I'll make a thread soon!
Click to expand...
Click to collapse
Why aren't you using the originals? Is it because they're Index images that don't open properly? If so, open them with Adobe Fireworks, save them, then open them in whatever else.
res\layout\status_bar_tracking.xml has the background color. Change to image:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Copy the file from the theme in my sig if you need a working reference. It has no clock in the bar and no text in the toggles as well.
MikeyMike01 said:
Half of it is left over Google crap, half of it is left over Samsung Froyo crap, and half of it is actually being used.
It's quite the mess.
Click to expand...
Click to collapse
3 halves, it must be all kinds of messy!
modest_mandroid said:
How'd you solve this?
Click to expand...
Click to collapse
GIMP, convert to RGB, then it works. But GIMP has no real batch mode, like Photoshop. Which sucks.
MikeyMike01 said:
Why aren't you using the originals? Is it because they're Index images that don't open properly? If so, open them with Adobe Fireworks, save them, then open them in whatever else.
Click to expand...
Click to collapse
Yeah that's why originally. Can you open 171 files in Fireworks and save them automatically? I don't wanna do that for all the status bar stuff individually.
Also I have to get Fireworks.
CuriousTech said:
res\layout\status_bar_tracking.xml has the background color. Change to image:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Copy the file from the theme in my sig if you need a working reference. It has no clock in the bar and no text in the toggles as well.
Click to expand...
Click to collapse
Wow thanks! I'll do that now.
EDIT: Using APK Manager 4.9, I keep getting errors while decompiling SystemUI.apk. Any reason or special method to decompile it?
I know the triumph is the new kid on the block and doesn't have a lot of dev or theme work for it yet,but was just wondering if anyone has accomplished making the status bar and pull down black with white lettering? if so... how?
thx
I've tried a couple metamorph themes, as well as an apk I found named GingerBar, all to no avail. Hopefully with CM7 just around the bend we will see black notification bars on our triumphs
I've been trying the same thing. I've tried flashing several metamorph themes and such, even .zip to be installed from recovery. Nothing actually worked. A few metamorph themes just installed indefinitely without finishing. I did a restore from my backup just to make sure there's no damage. I made this thread on HowardForums and someone suggest UOkitchen or whatever it's called lol, but that's seems crazy time consuming. Also, someone posted a screenshot here on XDA in the show your homescreen thread with a modified status bar, might be worth sending him a message asking how, maybe he or she would be willing to help
johnnycsx said:
I've been trying the same thing. I've tried flashing several metamorph themes and such, even .zip to be installed from recovery. Nothing actually worked. A few metamorph themes just installed indefinitely without finishing. I did a restore from my backup just to make sure there's no damage. I made this thread on HowardForums and someone suggest UOkitchen or whatever it's called lol, but that's seems crazy time consuming. Also, someone posted a screenshot here on XDA in the show your homescreen thread with a modified status bar, might be worth sending him a message asking how, maybe he or she would be willing to help
Click to expand...
Click to collapse
I would try the UOT Kitchen. Its less time consuming than the methods previously mentioned
nbeebe24 said:
I would try the UOT Kitchen. Its less time consuming than the methods previously mentioned
Click to expand...
Click to collapse
it makes the status bar black, but it doesn't change the text color from black to white
ceejay83 said:
it makes the status bar black, but it doesn't change the text color from black to white
Click to expand...
Click to collapse
Okay, well since there is root access it should be able to be done right?
Sent from my Xoom using XDA Premium App
nbeebe24 said:
Okay, well since there is root access it should be able to be done right?
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=831715
i tried opening the services.jar with winrar like the guide says, but can't find any of the files in there. i was told i need to open it up with java, but it's getting too technical for me. maybe you can figure it out
ceejay83 said:
http://forum.xda-developers.com/showthread.php?t=831715
i tried opening the services.jar with winrar like the guide says, but can't find any of the files in there. i was told i need to open it up with java, but it's getting too technical for me. maybe you can figure it out
Click to expand...
Click to collapse
I'm taking a trip to Ohio tomorrow morning at 4 a.m., 10 hour drive IF there's absolutely no traffic. I can't sleep, because if I do my dad'll have trouble staying awake lol. I have a car-to-wall outlet charger thingy that works with my laptop, so I'll give it a shot on the way. I'll let you know how it goes!
ceejay83 said:
http://forum.xda-developers.com/showthread.php?t=831715
i tried opening the services.jar with winrar like the guide says, but can't find any of the files in there. i was told i need to open it up with java, but it's getting too technical for me. maybe you can figure it out
Click to expand...
Click to collapse
I should br receiving mine soon so I'll look into it as well
I found a bunch of themes at droidpirate. com. They all seem to work pretty well
Sent from my MOTWX435KT using XDA App
elflip88 said:
I found a bunch of themes at droidpirate. com. They all seem to work pretty well
Sent from my MOTWX435KT using XDA App
Click to expand...
Click to collapse
The metamorph themes? Which themes are you referring too?
what MM theme works on triumph?
gravityone said:
what mm theme works on triumph?
Click to expand...
Click to collapse
yup yes indeed
mm themes don't change the text color, so it'll be black text on black bar and you won't see anything
mr2011 said:
The metamorph themes? Which themes are you referring too?
Click to expand...
Click to collapse
Yrah they're metamorph themes. There for the status bar, status background, and for all the icons on the status bar
Sent from my MOTWX435KT using XDA App
Yea just go to Droid pirate and use metamorph... who really needs a clock on the status bar anyways? U can theme all the notifications and status bar icons and turn the bar black.
MOTWX435KT
I'm still working on the "white text" half of the conundrum, but in the mean time something like Fancy Widgets should be good enough.
Although a black-bar-white-text theme is something that's a personal goal.
Metamorph makes it easy, but it has a lot more bugs than flashing a theme.
Here is a modified stock Evo 4G 4.24 GB SystemUI.apk that has the quick settings enabled. This is my first mod post so please forgive me if I missed something.
I am posting this cause I have looked far and wide for this and did not find one specifically for the Evo. I did find several that worked on the Evo but didn't have the 4G toggle.
This apk is straight from the HTC RUU as all the parts were there but disabled. Thanks to SK806 for providing some helpful hints to get me rolling.
Update:
*Fixed FC's on 4G toggle
All toggle are now enabled, and a screen shot added.
Task manager and Recent apps are still off cause I didn't want them.
The order of the toggles in the list have been changed to Brightness, Wi-Fi, 4G, Mobile Network, Bluetooth, GPS, Wi-Fi Hotspot, Auto Rotation, and All Settings.
Plans:
Flashable zip
Add Transparency to the lists
Add an entry for the flashlight (cross your fingers and toes for this one)
I plan to make a flashable zip but for now the apk will have to do.
Just push this to /system/app and makes sure the permissions are set accordingly.
I appreciate this but there is already a flashable zip here in this section http://forum.xda-developers.com/showthread.php?p=17642327
Sent from my phone using psychokinesis.
I'd like to say it's the same but, this is not the case it's a port. I modified the origonal RUU files for the Evo plus I have plans to enable other options within it that are not found yet.
Gotcha. Good luck!
All of the options in the quick settings was one of the huge reasons i was using mikg.
Sent from my phone using psychokinesis.
Well it does look an awful lot like ca1nes...
However, could you post the .smali/xml edits so the other people out here can help you add the other toggles? TIA.
I sure can, but I have already completed that step and hope to post the final apk shortly. I'll post the smali edits in the op in the same stroke.
Just FYI, ca1nes version is not a port, he just got the code from someone else(mrluje, I think) and took the 4.53 and added the code to activate it, I can confirm this.
The smali changes were simple, one line of code. Good job tho
Sent from my PC36100 using xda premium
NinjaWolf said:
Just FYI, ca1nes version is not a port, he just got the code from someone else(mrluje, I think) and took the 4.53 and added the code to activate it, I can confirm this.
The smali changes were simple, one line of code. Good job tho
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Sorry I didn't decompile ca1nes to see, just based what I said off his verbaige in his op. Either way now that my revised apk and screenie is up you can clearly see the differences.
Sent from my PC36100 using XDA App
Thanks so much for getting this to work. Love it. Two quick requests and I think I can be completely happy with my setup. Can you make the background transparent? Can you make the status bar transparent? Thank you again...
breezer260 said:
Thanks so much for getting this to work. Love it. Two quick requests and I think I can be completely happy with my setup. Can you make the background transparent? Can you make the status bar transparent? Thank you again...
Click to expand...
Click to collapse
Check my post on the other thread for instructions on the transparent background. I don't remember the status bar. I think it may be in framework. Been a while. I was thinking about figuring that out again. However, I would want to fix all the status bar icons, and that was a pain.
Sent from my PC36100 using XDA App
studentjunk said:
Check my post on the other thread for instructions on the transparent background. I don't remember the status bar. I think it may be in framework. Been a while. I was thinking about figuring that out again. However, I would want to fix all the status bar icons, and that was a pain.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Been looking into these two items already and both from what I can tell so far is that they are both controlled in the systemui.apk classes. I need to fix an issue first thought as it seems the 4G toggle broke when I changed the order. It worked when I first tested the posted build, but I tried using 4G over the weekend and got Fc's. So gotta fix that first, let me know if you guys get the same (if using my build). Gotta get this fix cause its the only things keeping me from using GB as my main driver.
Sent from my PC36100 using XDA App
My 4G is working fine from the qs toggle. Will you be willing to include the recent apps along with quick settings (no transparent background) in your new release please Sir? Thank you in advance.
From: My Evo 4G
Very cool, sir. Thanks for explaining the difference between yours and the one I linked earlier.
I hope the brightness slider gets universal soon because I miss it and use extended controls for now since I keep flashing roms lately.
Sent from my phone using psychokinesis.