Change navbar icon dimensions? - Google Pixel XL Questions & Answers

So I made a custom navbar. Using paint.net I have enlarged the icons multiple times and reflashed the zip. No matter how much I enlarge the size of the icon pngs themselves, Android continues to keep the images the same size in my navbar.
I'm assuming there's an xml file somewhere that sets a concrete size allotted for these icons. Does anyone know which file sets these values?
Also, I'm on 8.1 Dev preview opp6.
**EDIT**
After some reading and browsing through the decompiled systemuigoogle, it looks like the answer to my problem may be in res/layout/navigation_bar.xml. These tiny icons are so annoying to look at!

Well with the help of @Tulsadiver, i had to modify back.xml, recent_apps.xml, home.xml and dimens.xml in order to change the size of the navbar icons.
Putting this here in case anyone else runs into the same issue I did.

Can u please tell me what values u modified to disable the icon scaling? Or maybe send me ur modified and original xmls it will surely help. I will also try to make a magisk mod or something which can work in most roms. Thank you.

The scaling is nothing more than padding added to the icons that was not present in earlier versions of android. Shrink the navbar you must also adjust the padding or the original padding, top and bottom push against the icons making them smaller.

Related

Help? Notification Bar modifying

Okay I want to make the status bar transparent and the pull down tray as well.
I want something like the transparency the top bar in OSX 10.6. I hate hiding my background and since I'm going for a minimal look, it's awfully distracting.
I tried to make the edits myself in photoshop and went ahead and resigned the .9.png files too. But when I pushed the framework-res.apk file back...only the notification bar had changed. and the pull down bar stayed solid.
Can anyone list for me which files specifically I need to change so I can make the notification bar and pull down tray transparent?
I would go ahead and make the changes myself.
I'm currently on FreshEvo, anyone think it would look better on cm6? or easier?
I found that 85% opacity seemed to work well enough but the black bar on sense was less than ideal, but acceptable. There was a problem with that too, the icons for mail notifications, cell signal, etc had their own black background that showed like black squares, I'd need to know which files to edit for that too.
I'm thinking that the aosp top bar, or if anyone knows of a white/aosp theme for senseroms, would work better.
P.S. The first time I edited my framework-res, I had to re-add all my accounts on the phone? what happened?? lol
All help appreciated
overthinkingme said:
Okay I want to make the status bar transparent and the pull down tray as well.
I want something like the transparency the top bar in OSX 10.6. I hate hiding my background and since I'm going for a minimal look, it's awfully distracting.
I tried to make the edits myself in photoshop and went ahead and resigned the .9.png files too. But when I pushed the framework-res.apk file back...only the notification bar had changed. and the pull down bar stayed solid.
Can anyone list for me which files specifically I need to change so I can make the notification bar and pull down tray transparent?
I would go ahead and make the changes myself.
I'm currently on FreshEvo, anyone think it would look better on cm6? or easier?
I found that 85% opacity seemed to work well enough but the black bar on sense was less than ideal, but acceptable. There was a problem with that too, the icons for mail notifications, cell signal, etc had their own black background that showed like black squares, I'd need to know which files to edit for that too.
I'm thinking that the aosp top bar, or if anyone knows of a white/aosp theme for senseroms, would work better.
P.S. The first time I edited my framework-res, I had to re-add all my accounts on the phone? what happened?? lol
All help appreciated
Click to expand...
Click to collapse
in launcher pro, making the status bar transparent wont matter becuase there needs to be a wallpaper hack i believe, unless you use a live wallpaper, the transparency will show. All the files are in the framework-res.apk that you need to change i believe, aside from the pulldown tray, that is the services.jar. i could post my theme for ya, but it changes everything.
What is your theme? Maybe there's a framework-res in it I could take a peek at to compare your edits.
Sent from my PC36100 using XDA App
brock1909 said:
in launcher pro, making the status bar transparent wont matter becuase there needs to be a wallpaper hack i believe, unless you use a live wallpaper, the transparency will show. All the files are in the framework-res.apk that you need to change i believe, aside from the pulldown tray, that is the services.jar. i could post my theme for ya, but it changes everything.
Click to expand...
Click to collapse
What do you edit in services.jar? I cant find the reference to it... the pulldown tray, that is, making it transparent.
The bars in your bottom picture are in framework-res/drawable-hdpi/
-status_bar_background.png
-status_bar_header_background.9.png
-statusbar_background.png
-status_bar_close_on.9.png
In that order
You need to edit all of the status bar icons also they have black blocks behind all of them. Like stat_notify_disk_full.png there are some in framework-res and some in com.htc.resources
The white part can only be made transparent with services.jar. I know there are downloads of it on here just do a search for services.jar.
Manup has a bunch for download that make it transparent and remove the clock and stuff.
Here is a guide on how to make your own
http://forum.xda-developers.com/showpost.php?p=7739623&postcount=53
Thank you, answered my question fully.
Would I be correct to assume that in cm6, all the status bar icons have white blocks begins them?
Sent from my PC36100 using XDA App

[Q] Hide system icons in the notification bar

Hi,
im trying to hide some of the system icons in the notification bar.
I would like to hide the alarm, vibrate and signal icons because they are always displayed and dont provide useful information for me
I replaced the png files of this icons in the SystemUI.apk file with empty (transparent) png images.
This works, but this still leaves gaps where the icons were, like between the clock and the battery.
Is it possible to change the order (like putting the transparent icons to the left), change the size (hiding them by setting the size to 0px) or to hide them completly?
I followed this tutorial to display some of the xml files in the SystemUI.apk but i did not find anything that looks like it changes certain system icons.
Im using Virtuous Affinity 2.05 (Android 2.3.5, Sense 3.5).

Looking to mod the taskbar icon size

So I really like having the smaller taskbar height. but enabling that setting decreases the actual icon size waaay to much. I used photoshop to scale the icons from the standard height to the small icon taskbar height and it just looks SO much better.
https://dl.dropboxusercontent.com/u/70122013/small taskbar fixed.png
instead of https://dl.dropboxusercontent.com/u/70122013/small taskbar.png
I've been playing around in regedit, but I've only been able to modify the width of the highlighted size, which isnt what i was looking to do at all.
Any help would be greatly appreciated. Btw, I'm running Start8 to get the startmenu back, but thats probably irrelevent.
http://windows7themes.net/change-taskbar-icon-size-in-windows-7.html

Transparent Status Bar

Hello Folks,
I am working on a i9100, OS 4.1.2, build: JZ054K.I9100VJMS4.
I have red almost ALL around, about how to make status bar disappearing and how to make it transparent.
Now, to make it disappearing I have worked on the file "framework-res.apk" modifying the res/values/dimens.xml which makes sense. And it works (!) since one can set the dimension of status bar to 0.0dip SO it disappears.
On the other hand, for the transparency issue, NO ONE explains why the files of SystemUI.apk have to be modified, a lot of different recipes are proposed and not all seem to work.
So here comes a question:
how come that the parameters of the background of a simply superimposed-status-bar cannot just be located and easily changed ?
Besides, I did a test: I tried to decompile and rebuild the SystemUI.apk WITHOUT modifying it, But when i push the new file into the system the whole screen background becomes black and the status bar disappears.
I used apktool (as I suppose everybody else).
Anyone can REALLY help/explain ?
Thanks a lot in advance.
Donyk

Resizing clock in statusbar?

After changing the system ui default dpi, via the build properties file located in the system partition, I've had trouble with the clock font in the statusbar (see photo attached). Does anyone have an idea as to what might cause the misscaled font up in the statusbar area? And is there something I can do about it?
Also, it would be cool to include the seconds count (hh:mm:ss), if anyone has done that before
Bump

Categories

Resources