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?
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
From what I've gathered the lockscreen, status bar and reboot option is all rolled up in one framework file. Res something? Anyhow, what I've noticed on all of the ROMs that come with the reboot option, the reboot option zips, and the status bar zips is this; it grays out the main phone menus. The menus used to go to settings, wallpaper changer etc. Stock is white. I happen to like the stock white. Its easier for me to read the gray letters. Ultimately I'd like to see everything black with white lettering. Can anybody point me in the direction of what file needs to be modified and give me a hand in theming/modding that aspect? I'm surprised I haven't seen this mentioned here already. Its becoming increasingly annoying for me to the point where
I won't use a zip if its going to include the dreaded gray menu throughout the phone (shows up in apps too).
Whew! Didn't mean to be so long winded. Also, please don't confuse what I'm saying with JRW's updater zip that inverts the settings screens on Lithium ROM. That's not what I'm talking about.
Cheers.
Sent from my MB865 using XDA
KEB64 said:
From what I've gathered the lockscreen, status bar and reboot option is all rolled up in one framework file. Res something?
Click to expand...
Click to collapse
Not answering your main question, but status bar goes from SystemUI.apk (about 90-95% of resources for status bar are there). Lockscreen - yes, in framework-res.apk.
Darth_Reals said:
Not answering your main question, but status bar goes from SystemUI.apk (about 90-95% of resources for status bar are there). Lockscreen - yes, in framework-res.apk.
Click to expand...
Click to collapse
Yep. Status bar is mostly in SystemUI.apk, rest of it in framework-res.apk. Reboot is a couple different files, including framework-res.apk for the icon and android-policy.jar for the actual entry in the power options menu.
For everything black with white lettering... that would include some pretty heavy modifications of framework-res/res/values/styles.xml.
Yes you are talking about some extensive XML editing. The problem i have run into is tou will get one menu screen just right with black and gray lettering but then when you go to a submenu its all black on black. Ive been chasing this for weeks!! Moto def knows how to make things very complicated :/
JRW 28 said:
Ive been chasing this for weeks!!
Click to expand...
Click to collapse
man... You've really earned my respect
JRW 28 said:
Yes you are talking about some extensive XML editing. The problem i have run into is tou will get one menu screen just right with black and gray lettering but then when you go to a submenu its all black on black. Ive been chasing this for weeks!! Moto def knows how to make things very complicated :/
Click to expand...
Click to collapse
If you're talking about something like Settings.apk with the different categories and such, I think that extra .apk's have to be themed for white-on-black (ex. data manager). I haven't tested my theory though. Most (if not all) text colors/backgrounds are in framework-res/res/values/styles.xml or drawable-hdpi for some backgrounds... so if you wanted EVERYTHING to be white-on-black you could just alter Theme.Light to be a replica of Theme.Black but I'm not sure how that would work out :\
I can't keep my mind off wanting everything consistent. Most app settings are black except for Motorola stuff. I guess its their way of standing out. I keep saying i'm going to digg in and start a project. I've done lots of websites in my day. Can't be much different. I also themed quite a few blackberrys. We'll see...
Sent from my MB865 using XDA
I remember someone wishing there was a way to do this, and i found this in the Nexus 7 forums:
http://forum.xda-developers.com/showthread.php?t=1985592
I tried it just for fun and it sorta worked, the nav bar was gone, but system ui kept force closing about every minute... but in the meantime i could browse around. But i hadn't installed a different launcher or nav app so it was kinda hard.
Anyway, i wonder if there was a further edit that could be made, perhaps in systemui, to make this work better? Anyway, try at your own risk, i was able to navigate to my /system folder and delete my new build.prop and take the .bak off my original one to get back to normal.
You can modify systemui to make the bar smaller maybe even remove/hide it altogether
Sent from my XT897 using Tapatalk 2
cool, thanks. would it be navigation_bar.xml? any advice on editing that? when i click edit it opens it up in a notepad, but it's a bit unintelligible to me. I also downloaded a trial of an XML editor, but it said the XML can't be opened.
you have to decompile the apk with a tool. apktool is most often used and then i use notepad++
Rangerbry said:
You can modify systemui to make the bar smaller maybe even remove/hide it altogether
Sent from my XT897 using Tapatalk 2
Click to expand...
Click to collapse
Ohhh the nav bar smaller? Where can change this?
...Tapatalk
Hello everyone!
I was thinking of we switching over to MIUI but I really like nav bar. Is there anyway I can add nav bar to any rom? Doesn't need to be customized.
Thanks!
Sent from my VZW GS3 using Tapatalk 2
you can add the nav bar with some build prop edits. i dont know them, do a search.
most AOSP roms have the option available too. i dont think ive ran one that didnt.
Read the op for the rom and like mentioned previously a lot of roms have the option.
Sent from my GT-P5113 using xda premium
here you go
austin1227 said:
Hello everyone!
I was thinking of we switching over to MIUI but I really like nav bar. Is there anyway I can add nav bar to any rom? Doesn't need to be customized.
Thanks!
Sent from my VZW GS3 using Tapatalk 2
Click to expand...
Click to collapse
qemu.hw.mainkeys = 0
use root explorer to add the line all the way at the end of your build.prop in the system folder.
Make sure you use the root explorer built in text editing function
also mount system as write.
this will not work if you change a single character about it , so go over it again and again
It will cover a bit of your camera controls in touch wiz roms , but it will not render them useless
If its taking too much of your screen then change LCD density to 280
if the play store start showing incompatible roms then use this play store instead AFTER DELETING THE ONE YOU HAVE USING TITANIUM :http://forum.xda-developers.com/showthread.php?t=1839871