changing position and size of individual nav bar button - Android Q&A, Help & Troubleshooting

Is there a way to change the size and position of the buttons in the nav bar individually? perhaps by editing a file?
i'm currently using an xposed module that has them scaled and sized evenly across the nav bar, but i want to change them manually to my liking.

umaru said:
Is there a way to change the size and position of the buttons in the nav bar individually? perhaps by editing a file?
i'm currently using an xposed module that has them scaled and sized evenly across the nav bar, but i want to change them manually to my liking.
Click to expand...
Click to collapse
To manually edit the navigation bar you need to modify the SystemUI.apk.
Another way is to install the Ultimate Dynamic Navbar app.

kalpetros said:
To manually edit the navigation bar you need to modify the SystemUI.apk.
Another way is to install the Ultimate Dynamic Navbar app.
Click to expand...
Click to collapse
UDN has all the customizations i want, but i'm not a fan of the auto-hiding nav bar

Related

[Q] Getting rid of Status Bar on 4.1

I need to get rid of the system bar on Android 4.1 tablets since the tablets will be in a commercial/retail environment and be used for business. My app will be the only app used on the tablet and it needs as much screen real estate as possible for what we're trying to do. I have searched already and I see that there are ways to do it on a rooted tablet, however since this will be in a business and deployed to several hundred or thousand businesses, I cannot have all the tablets rooted for legal and security issues. (Would I really have issues legally though if I were to root them?)
I know that you can dim the status bar and make the buttons dots but that really isn't optimal.
If there is no way to get rid of it, is it possible to change the status bar icons and functionality? I ask this because our app has a status bar on top and we could possibly move it to the bottom and change the icons and functionality of the status bar to match the app's status bar so no screen real estate is lost.
I have read that 4.2 adds some fullscreen functionality for apps. Is this true? Can the status bar be hidden in 4.2 as opposed to 4.1?
You could get rid of statusbar
Add this attribute to activity declaration in manifest
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
Sent from my A116 using Tapatalk 2
sak-venom1997 said:
You could get rid of statusbar
Add this attribute to activity declaration in manifest
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
Sent from my A116 using Tapatalk 2
Click to expand...
Click to collapse
That just gets rid of the title bar for the app and the notification bar at the top. That does not get rid of the navigation bar at the bottom. I would like the navigation(system) bar to be gone.
Vinnyb64 said:
That just gets rid of the title bar for the app and the notification bar at the top. That does not get rid of the navigation bar at the bottom. I would like the navigation(system) bar to be gone.
Click to expand...
Click to collapse
I know but for un rooted dev this is the only thing that can be done
To completely remove statusbar del the Systemui.apk from system/app
To remove navigation bar at the bottom give me details of your dev and attach Systemui.apk and framework-res.apk they can be found in system/app and system/framework
But this can't be done without root
Press Thanx Button dude
Sent from my A116 using Tapatalk 2
Re: Getting rid of Status Bar on 4.1
Here's what I would do:
- Setup another Launcher (like Apex) to where 1) only one page, one icon (your app), and lock the homescreen from any changes, 2) make sure that when you press Menu, it performs a different action than giving you an option to access Settings, and 3) disabling the Status Bar in 'General'.
- Change the attribute in the Manifest file like sak-venom1997 suggested.
I'm pretty sure that doing this would give the user no option to change anything. Pretty sure.

[MOD][XPOSED][2.3-4.4] Dimensions editor - edit UI elements size

This mod can edit the sizes of various UI elements. The list currently includes:
*Status bar height
*Status bar icon size
*Navigation bar height and width
*Action bar height
*Action bar title and subtitle size
*Alert dialog sizes, button sizes and title sizes
*Volume panel top
*Toast distance from bottom
More will be added. Please note that not all will work on all ROM's on all phones. Report problems on this thread
Changelog
Version 1.0.1
Fixed layout issues
Version 1.0.2
Fixed many issues with certain dimensions not sticking such as action bar height. Also fixed status bar height not working
Version 1.1
Gingerbread support (EXPERMENTAL!!!)
Fixed issue of force close when loading previous settings
App will now ignore empty fields instead of using default (so it won't override other apps)
Version 2.0
Rewrote the whole thing, more optimized and uses new Xposed API so now you can have any value
The APK is attached to this post
hamzahrmalik said:
This mod can edit the sizes of various UI elements. The list currently includes:
*Status bar height
*Status bvar icon size
*Navigation bar height and width
*Action bar height
*Action bar title and subtitle size
*Alert dialog sizes, button sizes and title sizes
*Volume panel top
*Toast distance from bottom
More will be added. Please note that not all will work on all ROM's on all phones. Report problems on this thread
The APK is attached to this post
Click to expand...
Click to collapse
Which rom/device have you confirmed it working on?
Doesn't work on Nexus7 (2012) ROM:CM10.2.1
Edit: working now!!! But please add "navbar height in landscape" because on tablets navbar is still in stock dpi in landscape mode
Works on Omnirom 4.4.2 Huawei Ascend P6, atlough the statusbar size is a little buggy. Combined with App Settings it can be put into good use for resizing the statusbar.
Click "Apply" anything did not happen.
Excellent!!!
This might be of interest for at least a few.
This mod enables the navbar / softkeys on my Sprint Galaxy Note 2 running near stock TW rom (STS MK4). I have been searching for a mod that does this, as i've tried the manual editing of the CSC to disable the hw keys but never worked for me.
And I can shrink the navbar to 24 pts!
---------- Post added at 09:32 PM ---------- Previous post was at 09:31 PM ----------
Pocket Fan said:
Click "Apply" anything did not happen.
Click to expand...
Click to collapse
Reboot required after change ...from what i've tested
Pocket Fan said:
Click "Apply" anything did not happen.
Click to expand...
Click to collapse
Must reboot
Check out my apps on Google Play, http://bit.ly/jdg-play
hamzahrmalik said:
Must reboot
Check out my apps on Google Play, http://bit.ly/jdg-play
Click to expand...
Click to collapse
Yes, I realy have a reboot.
But he still didn't respond...
Pocket Fan said:
Yes, I realy have a reboot.
But he still didn't respond...
Click to expand...
Click to collapse
What are you trying to change
Check out my apps on Google Play, http://bit.ly/jdg-play
Not much success on my S4, either. The status bar never changed, and I got intermittent effects in some apps' title or action bar. Yes, I rebooted after each attempt. I'm looking forward to trying updated versions.
Things working/not working
Working: statusbar height, action bar height
Action bar title size is kinda working, it shows up when I open an app, but when it fully loads, text size is back to normal
Not working (and tested obviously): statusbar icon size (could it be an incompatibility with gravity box icons?), toast message distance from bottom
Also, loading previous settings causes fc, and ad cover the "Visit XDA thread" button.
hamzahrmalik said:
What are you trying to change
Check out my apps on Google Play, http://bit.ly/jdg-play
Click to expand...
Click to collapse
The statusbar's size and the statusbar icon size.
shmykelsa said:
Working: statusbar height, action bar height
Action bar title size is kinda working, it shows up when I open an app, but when it fully loads, text size is back to normal
Not working (and tested obviously): statusbar icon size (could it be an incompatibility with gravity box icons?), toast message distance from bottom
Also, loading previous settings causes fc, and ad cover the "Visit XDA thread" button.
Click to expand...
Click to collapse
Load previous settings only works if you had some, i'll look into it. And new update i just released has fixed issue with ad covering the buttons. Thanks for letting me now
Hi
Still testing
Cannot you made possible to view changes just after a systemui reboot (like xuimod)?
Publiuss said:
Hi
Still testing
Cannot you made possible to view changes just after a systemui reboot (like xuimod)?
Click to expand...
Click to collapse
This module replaces the values of dimens.xml inside framework-res.apk. It requires a reboot in order to reload these settings. I'll look into XuiMod and see how they're doing it, i suspect they have some sort of background service like GravityBox
Not working on LG G2 D802 , I tested notification bar height and volume bar position, pressing apply button dose nothing, kindly fix, thank you in advance.
TMSxXDA said:
Not working on LG G2 D802 , I tested notification bar height and volume bar position, pressing apply button dose nothing, kindly fix, thank you in advance.
Click to expand...
Click to collapse
Please reboot
hamzahrmalik said:
Please reboot
Click to expand...
Click to collapse
Nope, already did, and didn't helped.
Maybe you are not aware, but G2 notification bar has big height comparing to other phones, so maybe it is already moded somehow especially that LG G2 heavily themed comparing to usual phones.
P.S
I'm using the stock ROM with 4.2.2 android.
TMSxXDA said:
Nope, already did, and didn't helped.
Maybe you are not aware, but G2 notification bar has big height comparing to other phones, so maybe it is already moded somehow especially that LG G2 heavily themed comparing to usual phones.
P.S
I'm using the stock ROM with 4.2.2 android.
Click to expand...
Click to collapse
This might be why, it works best on AOSP
tauio111 said:
Works on Omnirom 4.4.2 Huawei Ascend P6, atlough the statusbar size is a little buggy. Combined with App Settings it can be put into good use for resizing the statusbar.
Click to expand...
Click to collapse
status bar size fixed in new update, check first post on this thread

[Q] Nav bar cursor arrows without xposed

Is it possible to get nav bar cursor arrows on a stock rom without xposed framework?
If that you mean navbar arrow like mm and lolli have, you need to decompile your systemui, or just want to enable it?
nophyan said:
If that you mean navbar arrow like mm and lolli have, you need to decompile your systemui, or just want to enable it?
Click to expand...
Click to collapse
Is there a solution that doesn't require decompiling systemui?
RoadToNever said:
Is there a solution that doesn't require decompiling systemui?
Click to expand...
Click to collapse
You can use another systemui that have arrow navbar icon for compare, just replace some png to your systemui, find it on drawable folder, no need to decompile because no xml and smali editing, just replace png. but sometimes the back arrow are look bigger than other. You can use Xplore file manager to open apk as zip.
Other than Xposed or SystemUI mods, don't think you can enable it. You can use the Google keyboard and while longpressing on the space bar, there's a feature that will allow you to slide the cursor around. Not sure exactly what you're looking to have the keys for...

how to change the distance between icons of navigation bar

By intreop tools
Yes

How to change status bar height?

I've got an Essential Phone (7.1.1, Magisk + Xposed) and I'm trying to to change the status bar height. Here's a stock image of what it looks like at default dpi. I was able to use use the window manager (adb shell wm) to offset the status bar upward, but that's not a complete solution.
Anyone know of a way to change the status bar height? If it wasn't obvious, I'm rooted.
Hi! Any news for changing status bar height?
teotop said:
Hi! Any news for changing status bar height?
Click to expand...
Click to collapse
https://www.reddit.com/r/essential/...ed_out_how_to_make_camera_flush_w_status_bar/

Categories

Resources