[Q] customizing ICS navbar button order? - Eee Pad Transformer Q&A, Help & Troubleshooting

Hey there. Been looking around a bit for how to change the order of the navbar buttons on ICS, and also add/remove them. I got used to this functionality on my Galaxy Nexus on AOKP b29. I have the navbar set to
<back> <home> <menu (persistant)> <search>
according to the AOKP chatroom, they have it figured out for tablets, but it's not implemented into the rom yet. So Im wondering... if its figured out, how is it done?
Can anyone hit me up with some info or where to look? It'd be greatly appreciated.

I'm sure the information is either in an XML layout file or a java activity file within the ROM's system or framework-res apks, though I wouldn't be able to tell for sure, I'm guessing the systemUI.apk since that is where the images that overlay the nav bar are located..

luna_c666 said:
I'm sure the information is either in an XML layout file or a java activity file within the ROM's system or framework-res apks, though I wouldn't be able to tell for sure, I'm guessing the systemUI.apk since that is where the images that overlay the nav bar are located..
Click to expand...
Click to collapse
You're right, in systemui.apk there's a status_bar.xml file with all the layout of the status bar, including the buttons.
I might implement this feature in my rom.

Related

[How to] change and edit your status bar?

ive seen in many different forms different status bars, is there a apk. file to to install to change it or is it a zip flash file? thanks
Home++ offers some customization as to whats on the "power strip" (quick launch)
britoso said:
Home++ offers some customization as to whats on the "power strip" (quick launch)
Click to expand...
Click to collapse
the biggest thing i want to know with home++ is does it allow me to keep my live wallpapers?
If you want to change your status bar and not have to install any alternatives, then you will need to edit framework-res.apk.
For all the status bar icons, look for framework-res.apk/res/drawable-hdpi/stat_xxxx.png and framework-res.apk/res/drawable-hdpi/status_xxx.9.png.
All of the .9.png's will need to have guidelines added to them after editing them, and they will need to be compiled in eclipse.
tmotech88 said:
the biggest thing i want to know with home++ is does it allow me to keep my live wallpapers?
Click to expand...
Click to collapse
No, it don't. A slim version, launcher+ does however
david1171 said:
If you want to change your status bar and not have to install any alternatives, then you will need to edit framework-res.apk.
For all the status bar icons, look for framework-res.apk/res/drawable-hdpi/stat_xxxx.png and framework-res.apk/res/drawable-hdpi/status_xxx.9.png.
All of the .9.png's will need to have guidelines added to them after editing them, and they will need to be compiled in eclipse.
Click to expand...
Click to collapse
I use Gimp to edit 9.png's. I seems ok, not had failure yet.
david1171 said:
If you want to change your status bar and not have to install any alternatives, then you will need to edit framework-res.apk.
For all the status bar icons, look for framework-res.apk/res/drawable-hdpi/stat_xxxx.png and framework-res.apk/res/drawable-hdpi/status_xxx.9.png.
All of the .9.png's will need to have guidelines added to them after editing them, and they will need to be compiled in eclipse.
Click to expand...
Click to collapse
kool beans thanks david, oh and they theme you got rocks!!!! keep it up. cant wait for more to come
DocRambone said:
I use Gimp to edit 9.png's. I seems ok, not had failure yet.
Click to expand...
Click to collapse
It all depends on which images your are editing. I think that most of the status bar images should be fine as long as you keep them simple since android will just be stretching that image. Like a solid color or a simple vertical gradient should work. You have to worry more about editing/compiling them once you start to mess with buttons and widgets layouts.
How do you change the color of the text in the status bar (eg. the time) ?
i too would like to know this
So I suppose there's no simple way
to double the status bar size then?
(+ all icons size equally doubled)
Grateful for all input...
/Mr Near sighted

Made notification bar transparent, ran into issues on bootup...

I figured out how to make my notification bar transparent, as well as the drag-down bar and status header bar. did it by pulling framework-res.apk, opened with 7-zip, edited the files from within 7-zip (didnt extract them at all), saved the changes, closed up and pushed the framework back to the phone. upon bootup however, once i unlocked the phone i got blasted with a stampede of FCs, all standard google apps and services that run on startup. even after pushing the stock, unchanged framework back, FCs continue. anyone know whats happening?
I think you need to edit the services.Jar file as well
mb02 said:
I figured out how to make my notification bar transparent, as well as the drag-down bar and status header bar. did it by pulling framework-res.apk, opened with 7-zip, edited the files from within 7-zip (didnt extract them at all), saved the changes, closed up and pushed the framework back to the phone. upon bootup however, once i unlocked the phone i got blasted with a stampede of FCs, all standard google apps and services that run on startup. even after pushing the stock, unchanged framework back, FCs continue. anyone know whats happening?
Click to expand...
Click to collapse
try a fix permissions maybe?
what rom?
im on the stock 8/1 2.2 leak. i figured out a temporary fix, i just modified the files in the smooth sense icons update zip since im using that on my phone, and did the update in recovery that way. it worked, but the only mod that worked was to the notification bar itself, not the drop-down bar or the header, so a services.jar edit is necessary to. which sucks because i dont know how to edit jar files or even navigate them to find what i need to edit lol. im gonna try to combine the smooth icons framework with the services.jar from the 50% shade backgroung update.zip and see how that runs. ill at least have a transparent status background/notification bar. i'll just have to learn java language and figure out the .jar setups on these phones myself and try editing then. i'll get back to you guys in a month
Have you checked out http://forum.xda-developers.com/showthread.php?t=744256 , which includes which lines to modify in the services.jar as well as the file to make transparent for the drop down?
Need to merge these two into one...
Heck - I'm very tempt to give it a try - i want mostly transparent top bar with 'frosted' icons - basically so if using default launcher pro, the top and bottom of the home screen match.
Plus, with that setup, it will open up a lot of the screen real estate.
bisbers said:
Have you checked out http://forum.xda-developers.com/showthread.php?t=744256 , which includes which lines to modify in the services.jar as well as the file to make transparent for the drop down?
Need to merge these two into one...
Heck - I'm very tempt to give it a try - i want mostly transparent top bar with 'frosted' icons - basically so if using default launcher pro, the top and bottom of the home screen match.
Plus, with that setup, it will open up a lot of the screen real estate.
Click to expand...
Click to collapse
yea i have the combined smooth sense icons and 50% shaded status background. i modded it to have a transparent top status bar, but the actual pull down bar itself (the one that materializes when you drag down your status bar) is services.jar related, im guessing, because i edited that in the framework and it didnt affect it. same with the status header, where it says Verizon Wireless.
after modding the status bar though, i was reminded that the individual icons had there own blackish square backgrounds that need to be eliminated, so im gonna be working on those hopefully today (gonna take FOREVER). when all is finished i'll post up screenshots and find out what everyone thinks, then possibly post up a zip of my own (with permission from jercick who did the smooth icons and whoever did the 50% shade) containing these mods.

Hide battery and/or clock icon w/o Deodexed rom

Pretty much what the title says, is there a method for hiding the battery and/or clock icons in the status bar WITHOUT a deodexed rom? I just have stock rooted 2.2, have no desire to install a custom rom at the moment, but if it's convenient, would like to hide the clock and/or battery icon to prevent having 2 up all the time.
Thanks,
-Drag
Not sure if odexed/deodexed matters for sure or not, but there are edits that need to be made to the classes.dex file inside of services.jar which is inside of /system/framework. You'd need to decompile classes.dex, make edits to the appropriate smali files to hide those, and recompile. That requires some set up, Java, and smali/baksmali. Put the new classes.dex into services.jar then adb push that back to /system/framework.
I've done it before with SR 4.0 to hide the alarm clock icon and clock.
Here is where it gives you the items to look for in the correct smali files that needed editing to hide the items.
RMarkwald said:
Not sure if odexed/deodexed matters for sure or not, but there are edits that need to be made to the classes.dex file inside of services.jar which is inside of /system/framework. You'd need to decompile classes.dex, make edits to the appropriate smali files to hide those, and recompile. That requires some set up, Java, and smali/baksmali. Put the new classes.dex into services.jar then adb push that back to /system/framework.
I've done it before with SR 4.0 to hide the alarm clock icon and clock.
Here is where it gives you the items to look for in the correct smali files that needed editing to hide the items.
Click to expand...
Click to collapse
Thanks a bunch sir!
Zeam launcher has a fullscreen mode that hides the notification bar. Can be set on or toggled with an action.
Maybe request a mod to change the color (black out) those items if you want to keep the task bar or as stated above loose the entire task bar with a launcher, I believe most of them have that option
All info I found states that you have to be running a deodexed Rom
Good luck, if you do it please share in how it was accomplished for stock sense 2.2

how to ?

if i wanted to port this over to the current rom im using green volume sliders and actual buttons and d/l bars what files would i need to mess with??
Uploaded with ImageShack.us
I'm no themer, but I believe most (if not all) the files you would need would be in the /res/drawable folder within the framework-res.apk.
I have only done minor tweeks like this, but should be a good starting point.
Any seasoned vets wish to chime in?
Actually I think the slider color is an XML edit. Decompile the framework apk and look in the layout folder
any idea what its called i found the actual buttons in the HDPI folder
not sure what you are asking but if you are asking for all the pieces, here ya go:
BACKROUND
popup_menu, they are png's in framework and com.htc
SLIDER BUTTONS
in framework as png's (you found those already)
PROGRESS BARS
xml edit in framework, i believe it is progress_horizontal.xml
the edits there are for color as well as you are going to have to edit it so that the line is a lot thinner.
BOTTOM BUTTONS
also in framework and com.htc as general buttons.
bammmmmmmmm

[Q] Framework editing

Does anyone know what file I need to edit to make the notification drop down more transparent? I'm running Embryo 3.2, and I believe that it's one of the framework files from the S3 launcher, but I'm not sure which one.
I want to make some edits to customize it more for my own liking.
An additional question...does anyone know the color code for ICS Blue?
Anyone? This is really driving me nuts. I'm looking through all of the files that I think have the right PNGs in them, and I see some that seem to fit the right names/images, though I wish I knew which ones controlled which images. Some look like they should, in terms of the filename, but don't match what I'm seeing...
I miss the old days
Surely the S2 forums contain an answer, I would imagine at least.
It's not the usual system ui, tw, and framwork res huh?
dac1227 said:
Surely the S2 forums contain an answer, I would imagine at least.
It's not the usual system ui, tw, and framwork res huh?
Click to expand...
Click to collapse
It might be, but I can't seem to find the right files. For example, the only close PNG I see is nowhere near what I see on my own phone. With the presence of those 3 files (and perhaps more) I don't know which one I should edit.
Its in the xml's
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
So I have to edit the XML's now to theme my phone?
Wow...when did that change. I used to be able to change the PNGs and re-insert them into the apk files with no problems...
XML is what declares color and transparancy of status bar if memory serves its been that way on most phones for a long time
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
nrm5110 said:
XML is what declares color and transparancy of status bar if memory serves its been that way on most phones for a long time
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Not looking to theme the status bar itself, just the notification dropdown and the icons on the status bar.
On my Droid 1, you had to edit the Services.jar if you wanted to change the color of the status bar itself, but it was a simple png edit within framework-res.apk if you wanted to change the dropdown color/transparency or any of the icons up there (signal, wifi, etc).
That's correct I misinterpreted what you were trying to do that's my bad
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
You need to be looking in SystemUI. apk, that's where notification drop down background and quick panel icons live.
Btw, there are many duplicates, original ics and tw versions.

Categories

Resources