How to change Navigation bar button spacing? - Galaxy Tab S Q&A, Help & Troubleshooting

So after disabling the Samsung hardware buttons and enabling the navigation bar through build.prop change, the navbar buttons are very spaced out. The back button is all the way in the left corner and the multi-task button is in the right. It's especially bad when in landscape mdoe. Anyone know of a way to edit the spacing between buttons?

bobbarker2 said:
So after disabling the Samsung hardware buttons and enabling the navigation bar through build.prop change, the navbar buttons are very spaced out. The back button is all the way in the left corner and the multi-task button is in the right. It's especially bad when in landscape mdoe. Anyone know of a way to edit the spacing between buttons?
Click to expand...
Click to collapse
Ice ransacked the net and cant find anyrhing about sorting out the spacing via the build.prop way. This is the best i can come up with..ltype ultimate dynamic navbar lite into google play....the customizing potential is quite large....heres a video...might not be the exact solution ur after though.
www.youtube.com/watch?v=pVKAh9Kq_D8

pdolton2000 said:
Ice ransacked the net and cant find anyrhing about sorting out the spacing via the build.prop way. This is the best i can come up with..ltype ultimate dynamic navbar lite into google play....the customizing potential is quite large....heres a video...might not be the exact solution ur after though.
www.youtube.com/watch?v=pVKAh9Kq_D8
Click to expand...
Click to collapse
Thanks, the code for the spacing of buttons is in systemui and/or framework. I disassembled them and found the relevant xmls but couldn't find anything related to spacing or size.

bobbarker2 said:
Thanks, the code for the spacing of buttons is in systemui and/or framework. I disassembled them and found the relevant xmls but couldn't find anything related to spacing or size.
Click to expand...
Click to collapse
Does anything discussed here mean anything to you...ive no experiance in this area but im not bad at finding info if i have to lol.
http://stackoverflow.com/questions/6875448/android-bottom-nav-bar-with-equally-space-buttons
It talks about buttons and spacing so thought maybe youll be able to use some of the info maybe??
EDIT
Also found this but its talking way above me so again not sure, noticed references to xml files, how the system works and a bit further down positioning...really chin deep stuff lol
http://developer.android.com/reference/android/view/View.html
EDIT
And this is definitly on topic
http://www.tutorialspoint.com/android/android_navigation.htm
At least it talks more about xml files and what means what...hopefully these 3 pages together should have the info you need if your willing...just looks very....demanding lol

Related

A possible working soultion to hide softkeys!

Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Not a dev but I made mine disappear when I was manually editing pngs in SystemUI.apk to mod my softkeys. I must have did something wrong.
I believe adr and his Bamf team are including this in their upcoming rom
I think they are mapping it to power and vol up or down
That would be great! I like the full screen it just looks amazing! I don't mind using Button Savior.
So you suggest removing the softkeys by breaking them and the notification bar..
joshnichols189 said:
So you suggest removing the softkeys by breaking them and the notification bar..
Click to expand...
Click to collapse
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Eventually. Took Honeycomb a while. Supposedly the tricks in Honeycomb were patched.
They just need time. They already have abilities to rearrange and select which keys are visible plus themes and all that.
LTE EX Galaxy Nexus - AOSP KANG
Asus Transformer - 3.2.1 OC/UV
Rockstar52 said:
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Click to expand...
Click to collapse
They get removed because they are broken
Rockstar52 said:
Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Click to expand...
Click to collapse
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Thanks, I will give this a shot. One last question why would the wallpaper stop working?
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
I could dig that.
Sent from my Galaxy Nexus using Tapatalk
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
Actually seems like a pretty nice idea. Does the OS continue to draw behind the buttons, or does the screen effectively stop where they begin?
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Jleagle said:
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Click to expand...
Click to collapse
we already have a transparent status bar successfully mod over in the themes section. and no you dont lose any function. the bar is still there, its just see-thru. so it functions identically to current usage.
anyway hiding the softkeys is something i would love. and google could have been creative, perhaps 3 finger swipe to make them appear, etc. that way 2 finger pinch to zoom wouldnt confuse it with a 3 finger swipe, twist, etc.
Krijs said:
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
Click to expand...
Click to collapse
This would be great. I use ADW Ex on my Galaxy Tab 10.1 LTE, and that has a swipe for its lower dock bar works great. When you don't want just swipe down, when needed swipe up.
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Why Can't i find values in my framework-res.apk? Im on 4.0.4
Im very familiar with android but am stumped on this one.

Quick controls instead of navigation bar? Just an idea...

Edit: Forget it, s2d2 just made me realize that the newer versions of LMT have integrated exactly the stuff I'm talking about here
First of all, I’m no developer and I don’t even know if this stuff is possible, I just wanted to share my thoughts about an alternative way to navigate through the OS without wasting too much space with the navigation bar.
I use roman’s awesome AOKP ROM at the moment, which has an option included to hide navigation bar. To access home/back/menu/recent, you have to use an app like LMT for example.
Although LMT works quite ok, I think it is not the ideal solution to replace navigation bar. Drawing symbols is not as intuitive as I imagined it to be and it looks kind of weird how the homescreen and many apps react while drawing the symbols.
So I thought about alternatives and I had the following idea:
Would it be possible to create something like the quick controls from the browser for system-wide use? Let's say you swipe up from the bottom of the screen and a set of buttons appears in a half circle like it does in the browser. Of course it should work system-wide and across all apps, just like LMT.
To make it available across all apps, it would be necessary to still reserve a "swipe space" on the bottom to differ between app input and navigation bar access. It could be smaller though since you don't need to show any information on it. Theoretically, a line with a width of one pixel should be enough since the swipe gesture would start outside the screen (which makes me think, maybe this line can be a battery bar at the same time )
I see some advantages in this kind of navigation:
- maximum screen real estate
- a swipe from the bottom would be quicker and more intuitive than drawing symbols (where you have to remember the shape and the starting point for every action)
- smaller chance to trigger navigation buttons accidentally (for example while writing with onscreen keyboard) since the navigation bar is hidden.
- doesn’t get in the way of other swipe actions like scrolling/turning pages/homescreen transition. I can’t think of any situation where you swipe from the bottom of the screen that would interfere with the Quick Navigation.
So developers, do you think something like this is possible? It would be an awesome solution to get the most out of the screen size and still have quick access to the navigation buttons and maybe even custom apps/actions.
If it's not possible or just plain stupid, what are the problems realizing something like this?
Lmt has pie wheel=half circle stuff in your terminology, already implemented...
Nearly two weeks late
s2d4 said:
Lmt has pie wheel=half circle stuff, no need to draw stuff
Click to expand...
Click to collapse
Cool, didn't know that So probably my idea is unnecessary after all
qwer23 said:
Cool, didn't know that So probably my idea is unnecessary after all
Click to expand...
Click to collapse
be happy
He's adding even more features to it too
s2d4 said:
be happy
He's adding even more features to it too
Click to expand...
Click to collapse
I am! Just installed new version and it's awesome! It's pretty much what i wished for ^^

[Q] large back button on nav bar

So I really want to mod the Nav Bar (forcing menu button to show, changing size, etc) but I only found a way only by enabling nav bar mods in GravityBox or Xblast tools. But when I do that, the back button on the Nav Bar becomes unusually large compared to other buttons. Is there any way to prevent this from happening? If you need a screenshot I'll upload one.
Thanks in advance.
Apparently I'm not alone on that - I'm running ViperOne and the same thing happened when i wanted to do some color-modding. I gave up on it and shrank it and it evened out - I went to 65% originally, but now am at 55%. Not sure where the line is, but if you shrink it, it will even up with the other two eventually.
GMD Softkeys - This is the dog's Bollocks for nav bar modding
ANDR01DN00B said:
So I really want to mod the Nav Bar (forcing menu button to show, changing size, etc) but I only found a way only by enabling nav bar mods in GravityBox or Xblast tools. But when I do that, the back button on the Nav Bar becomes unusually large compared to other buttons. Is there any way to prevent this from happening? If you need a screenshot I'll upload one.
Thanks in advance.
Click to expand...
Click to collapse
Has anyone found a solution to this? I have even tried using SoftkeyZ but when I do that it does the opposite and shrinks the back button to the point it looks ridiculous.
Jcross1324 said:
Has anyone found a solution to this? I have even tried using SoftkeyZ but when I do that it does the opposite and shrinks the back button to the point it looks ridiculous.
Click to expand...
Click to collapse
I would love to find a solution to this as well. Don't like having to downsize the nav bar to make them even.
clint1459 said:
I would love to find a solution to this as well. Don't like having to downsize the nav bar to make them even.
Click to expand...
Click to collapse
Have you tried [APP][4.0+]Ultimate Dynamic Navbar ?
BerndM14 said:
Have you tried [APP][4.0+]Ultimate Dynamic Navbar ?
Click to expand...
Click to collapse
Thanks for the tip! I use GravityBox for its handy Navigation Ring mods. Can Dynamic Navbar modify the Nav Ring and/or work with GravityBox when it is modifying the Nav Ring? Also, is this safe allowing blanket permissions without seeing the source code? Sorry, I'm not a dev, curious what more informed people know about this…
BerndM14 said:
Have you tried [APP][4.0+]Ultimate Dynamic Navbar ?
Click to expand...
Click to collapse
I just went ahead and tried this. Didn't work for me. When I opened Ultimate Dynamic Navbar, most of the options were unreadable—they just had an ellipsis, the last one or two words of the option description, and then perhaps a checkbox. You couldn't read it. I tried it in both portrait and landscape, always with GravityBox disabled and after a full reboot. Doesn't seem to work correctly on m8 for whatever reason.
ANDR01DN00B said:
So I really want to mod the Nav Bar (forcing menu button to show, changing size, etc) but I only found a way only by enabling nav bar mods in GravityBox or Xblast tools. But when I do that, the back button on the Nav Bar becomes unusually large compared to other buttons. Is there any way to prevent this from happening? If you need a screenshot I'll upload one.
Thanks in advance.
Click to expand...
Click to collapse
Again I'm not a dev, but I wonder if this—implemented in the mod—would fix it: http://forum.xda-developers.com/showthread.php?t=2452822. I'll post this in the GravityBox thread I guess…
Have you tried seeing how you can customize it with [MOD][Xposed] Xtended NavBar ?
It fairly new though, status still shows as testing...Looks interesting nontheless.

Navigation bar

Hello xda
is there any way to have the navigation bar like the old galaxy tabs, that can orient with screen rotation in all 4side of the screen???????
You know its difficult to use the home,back and recent apps button in only one aide of the screen, and the back button allways disappear in the dark
But if its gonna have the software navigation bar, it will be so much easier to work with. ...,
also i used some app that provides the same nav bar , but it come over the screen and some button hide behind it....,
Thanx alot guys
Try using: https://forum.xda-developers.com/showthread.php?t=2270198
I have used it for a long time now, and I cannot live without it at this point. I love it because it not only follows orientation, but it can auto-hide too. Also, once you have that all squared away there's a tutorial on here somewhere that will show you how to (just by editing your build prop file) disable the hardware buttons all together.
Then, (also on here) there's an app that allows you to totally disable touch iput, except the Spen. Not that you are interested, but oust thought I would share how I have mine setup. Good luck!
samandhi said:
Try using: https://forum.xda-developers.com/showthread.php?t=2270198
I have used it for a long time now, and I cannot live without it at this point. I love it because it not only follows orientation, but it can auto-hide too. Also, once you have that all squared away there's a tutorial on here somewhere that will show you how to (just by editing your build prop file) disable the hardware buttons all together.
Then, (also on here) there's an app that allows you to totally disable touch iput, except the Spen. Not that you are interested, but oust thought I would share how I have mine setup. Good luck!
Click to expand...
Click to collapse
Hi
thanx alot
its awesome,
ive already tried so many apps, but this one is great
Thanx for ur help bro

Transparent nav buttons/bar

Is there any way to get a transparent (see through - not completely black) nav bar on these phones? I've searched everywhere and Googled, but the only place that looked promising was an Xposed module for way back in 4.4 KitKat. Looks like that's not even a viable option anymore. I've seen people post to use the NavBar app, but that just creates an all black bar with invisible buttons.
I'm looking to get the same effect as on the launcher homescreen - see through and usable buttons. Is there any hope for this?
I have tried in the past to change the color of the navbar via the framework-res.apk to totally transparent, as in #00000000. All I ever got was black. I think the problem is something like this:
Most apps are not designed to go all the way down to the bottom of the screen, or Android makes apps not go all the way down to the bottom of the screen, I'm not sure which. In either case, since there is nothing to draw there, making a navbar transparent just basically turns off all the pixels, hence, making it "black."
The homescreen has been designed to go all the way down to the bottom of the page, which is why it works on the home screen and not other places.
I'm no expert, this is just my experience, and what I "think" is happening. Also, I think if it were possible somebody would have done it by now, but it just doesn't seem like it's possible without a vast rewrite of either framework res or systemui code.
Edit: it occurred to me that immersive mode is a thing, so I guess apps do go to the bottom of the screen when immersive mode is enabled, but not when the navbar is enabled.
Sent from my Pixel 2 XL using XDA Labs

Categories

Resources