Disable/Enable Navbar with SwiftKey - Tasker Tips & Tricks

I'm looking for a way to disable the navigation bar when using SwiftKey in order not to constantly hit the home button when aiming for the spacebar and enable it again once I close SwiftKey. Immersive mode doesn't work with SwiftKey. So, ideally, I would need an adb shell command to do this, but I can't really seem to find out how to do this. I'm running AICP ROM and I theoretically have a (quick settings) toogle for this, but also no idea how to trigger such tile with Tasker.
In terms of adb shell commands I've found the navigation_bar_height/mode/visible lines in the secure settings list in adb, but don't know what the code lines would have to look like in order to toggle those in a command.
Any input would be greatly appreciated.

I think the problem isn't with swiftkey disabling immersive mode but that more than one virtual keyboard is installed. This forces the keyboard (input) switcher button bringing up the nav bar in spite of immersive mode.

Related

Non Root ADB Full Immersive Mode

Hi Kings and Queens of XDA.
Since updating to Oreo, the adb command that enables full immersive mode system wide, no longer works on the homepage, but still does in apps.
Question is, does anyone know of a workaround?
This is driving me nuts. Yes I know, 1st world problem, but all the same....
Thanks in advance for any input.
Check that
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
Renovatio_ edi said:
Check that
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
Click to expand...
Click to collapse
Tried this, doesn't work for me. I was getting glitches whereby the screen wasn't refreshing properly when going back and forth from the apps draw and some other weird stuff.
Had to uninstall the app and still the problem wasn't solved till I did a reinstall of the system.
But thanks anyway.
kxdaorbit said:
Tried this, doesn't work for me. I was getting glitches whereby the screen wasn't refreshing properly when going back and forth from the apps draw and some other weird stuff.
Had to uninstall the app and still the problem wasn't solved till I did a reinstall of the system.
But thanks anyway.
Click to expand...
Click to collapse
Nova Launcher Prime and Nougat/Oreo Quick Settings work for me. This will only hide the status bar if you use the stock launcher.
Misterxtc said:
Nova Launcher Prime and Nougat/Oreo Quick Settings work for me. This will only hide the status bar if you use the stock launcher.
Click to expand...
Click to collapse
Yeah, that's the thing, I actually like touchwiz /UI 9000.0, or whatever Sammy's calling it today.
Just want full immersive on homepages, status and navigation bars just distract from the minimalist look.
Thanks though.
you may wanna try this.
Credit to frankhuang2013 and luisshnyder
The way we used to set navigation bar's height to 0 DOES NOT work anymore!!!
Here I want to share a way that I use to remove the annoying nav bar WITHOUT ROOT.
If you are interested, you can try it. I currently have a SAMSUNG NOTE 8 UNLOCKED running Android 8.0
I discovered this method based on luisshnyder's method (https://forum.xda-developers.com/galaxy-s8/how-to/remove-oreo-navbar-completely-t3772217), but I did more to resolve some problems he didn't mention.
===========================================================================================================
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
===========================================================================================================
After using my method, what's working:
1. A full screen with no navigation bar in any circumstance even in landscape mode or input method pops up.
2. Hard press working all the time, including when the phone is locked, screen off or unlocked status.
3. Screen capture working and also scrolling screen capture working (many users want this!)
4. You can swipe or other gestures to perform go back, home, recent app or many other functions.
What's not working:
The lock screen shortcuts cannot be displayed correctly under WQHD resolution.
Overall, you need the following software
1) Android 8.0 Oreo installed
2) All in one gesture (Free, in PlayStore)
3) FloatingMenu 6.1.9 (Free, but Pro Version works much better, don't use PlayStore version, use the apk attached)
4) All necessary software needed to run adb commands. You may need to learn how to install and use adb command line.
Now let's start:
0. Go back to your phone's default settings if you tried any other methods before (ignore this if you didn't).
1. Go to Seetings -> Display -> Navigation bar, UNcheck "Show and hide button".
2. Install All in one gesture.
2.1. Configure this app's settings in the way you like. I use 12 Hotspots Straight Swipe and make Bottom, Left, Center to be Recent, Home and Back.
2.2. Go to Personalization -> Edge Preference, Leave Opacity as it is, we'll deal with it later. set other scrollbars the way you like, I use the following value: Edge Sensitivity 50px, Edge Width 100%.
3.3. Go back to Personalization, make sure Auto Rotation is checked, while Behind Keyboard is UNchecked. For me, to make it better, I also Unchecked Toast Message and checked Animation.
3. Install FloatingMenu 6.1.9, DO NOT use PlayStore version, use the apk attached.
3.1. Configure your bottom bar the way you like, but make sure the Height is more than 200. You may need to buy the Pro version to use all three bottom bars.
3.2. Go to Settings, make sure you UNcheck "Reposition when IME appears", and set "Auto hide when landscape" to "Hide all".
3.3. Go to Advanced settings, make sure you UNcheck "Max window level", and check "Cover softKeyboard".
4. Plug-in your phone to a computer with adb environment, make sure USB debugging is ON. (Learn more about adb if you don't know this before operating)
5. In the command line, run: adb shell settings put global policy_control immersive.navigation=apps,-com.samsung.android.app.smartcapture
6. In the command line, run: adb shell wm overscan 0,0,0,-168
7. Fully test your phone, then make the bottom bar transparent to make it more beautiful.
8. For users who use WQHD resolution only: Go to Settings -> Lock screen and Security -> App shortcuts, then turn off both shortcuts.
9. Sometimes you need to reboot your devices.
=========================================================================================
If you want to undo the effect you made by the above two adb commands, here are the two "Recover Commands":
adb shell settings put global policy_control null
adb shell wm overscan 0,0,0,0
=========================================================================================
Please reply below if you have any questions. I will come and answer regularly.
Thank you!
Download FloatingMenu: https://drive.google.com/drive/folders/1EG_m4ZL7hWhxMdqlbbAMUliHp_iEcPtZ?usp=sharing
Scroll Capture isn't working
SuttyaHout said:
Scroll Capture isn't working
Click to expand...
Click to collapse
what do you mean by not working? the bottom bar didn't show up?
Hello. I have question.
If i set gestures from bottom, will be delay between two swipes?
Now I use immersive mode via adb + andromeda to hide navbar and first "back" gesture work normally but if i want do fast second swipe - (2x back in browser) it not work. It acts like showing invisible bar and second gesture work when hide it.
Maybe I'm not understanding the issue so forgive me if what i recommend doesn't help. The way i get system wide immersive mode is by using the bxActions app and linking the Bixby button to enable immersion mode when pressed twice quickly, this way i can still use Bixby if need be. The immersion mode works on games, FB, other social media and the home screen.You'll have to get it working through ADB only once then you should be good to go after that.
zuli007 said:
Hello. I have question.
If i set gestures from bottom, will be delay between two swipes?
Now I use immersive mode via adb + andromeda to hide navbar and first "back" gesture work normally but if i want do fast second swipe - (2x back in browser) it not work. It acts like showing invisible bar and second gesture work when hide it.
Click to expand...
Click to collapse
Y0sHii said:
Maybe I'm not understanding the issue so forgive me if what i recommend doesn't help. The way i get system wide immersive mode is by using the bxActions app and linking the Bixby button to enable immersion mode when pressed twice quickly, this way i can still use Bixby if need be. The immersion mode works on games, FB, other social media and the home screen.You'll have to get it working through ADB only once then you should be good to go after that.
Click to expand...
Click to collapse
hi, please guide step by step bro, i think it's better others way i know!

Navigation bar fix

I tried some apps to hide the navigation bar using the adb commands, wanted to go back to stock and I uninstalled all the apps but the navigation bar remains hidden and I have always to swype to make it reappear, even if i check show/hide button in settings. Any fix to solve? Thanks
Might help. Dunno which adb commands were used to hide originally

change immersive mode delay?

Apologies if this is the wrong place to post this.
I would like to change the delay for the notification and navigation bar to hide in immersive mode.
adb shell settings put global policy_control immersive.full=*
This is the command i have found to activate immersive mode and it works well for me, except for the fact that the delay is too long - probably around 2000ms, i would prefer around half that.
Does anybody know where this is defined? I'm not a dev (obviously) but I am hoping it would just involve changing a value somewhere in a config file...
Thanks in advance!

What's the safest way to remove the Android 9 Navigation bar completely NON-ROOT

After the update to Android Pie, I realized I can't hide the Navigation bar anymore (in order to use hand gestures using "One Hand Operation +) .
I was able to at least apply ADB immersive mode to all my apps. However, that doesnt get rid of the navigation bar on my home screen.
I was hoping someone can suggest a good supplemental app that specifically focuses on removing the navigation buttons from my home screen. I've tried a couple Nav bar removal apps. However, they seem to still focus on immersive mode and adding white lists to immersive mode only.
I would appreciate any useful suggestions.
You should be able to hide navigation bar simply by changing to full screen gestures in Settings. If it doesn't it could due to earlier customisation. See if you can revert it back to default. Also wipe cache partition helps with issue after the updates
Yep, just enable full screen gestures and the nav bar will be gone and stay gone
Thanks. Yes, that's the first thing I did, until I quickly realized that I didn't like the native full-screen gestures capabilities of Pie. One Hand Operation + does a MUCH better job for gestures IMO.
Gunde said:
Yep, just enable full screen gestures and the nav bar will be gone and stay gone
Click to expand...
Click to collapse
Download full screen gestures by xda, give it adb permission and you can safely hide the nav bar (make sure to have it enabled first). Hope it helps
Thanks. The full-screen gestures app from XDA doesnt support lanscape mode, at least when I tried it. That's why I switched to One Hand Operation +" which does gestures very well. I'm already using the ADB to enable immersive mode to auto-hide the navigation bar.
manupa14 said:
Download full screen gestures by xda, give it adb permission and you can safely hide the nav bar (make sure to have it enabled first). Hope it helps
Click to expand...
Click to collapse
mkanet said:
Thanks. Yes, that's the first thing I did, until I quickly realized that I didn't like the native full-screen gestures capabilities of Pie. One Hand Operation + does a MUCH better job for gestures IMO.
Click to expand...
Click to collapse
I agree. I use full screen gestures to hide nav bar but only actually use One Hand Operation+ for gestures
I'm glad you brought that up. This is exactly what i attempted to do. However, for some reason, Pie Full-Screen gestures will break One Hand Operations + "Right handle" in landscape mode after enabling it for a little while. It looks like a conflict of some kind.
Could you please test One Hand Operations + in Landscape mode WHILE Pie Full-screen gestures is also enabled? The right handle stops working for after a little while of use. I really wish I could figure out a way for both of them to run without conflicts in Landscape mode.
I dont think this happens in One Hand Operations Portrait mode.
Gunde said:
I agree. I use full screen gestures to hide nav bar but only actually use One Hand Operation+ for gestures
Click to expand...
Click to collapse
mkanet said:
I'm glad you brought that up. This is exactly what i attempted to do. However, for some reason, Pie Full-Screen gestures will break One Hand Operations + "Right handle" in landscape mode after enabling it for a little while. It looks like a conflict of some kind.
Could you please test One Hand Operations + in Landscape mode WHILE Pie Full-screen gestures is also enabled? The right handle stops working for after a little while of use. I really wish I could figure out a way for both of them to run without conflicts in Landscape mode.
I dont think this happens in One Hand Operations Portrait mode.
Click to expand...
Click to collapse
Huh. You are right. I almost never use landscape so hadn't noticed ...
Weird issue. Will hooefully be fixed in a future version of OHO+
Thanks for confirming. I don't think I can count on OHO+ ever fixing this bug... since there's no good way to report this bug to the developers.
I probably would be okay with using the native Pie fullscreen gestures. However, oddly it doesn't have haptic feedback for some reason.
Gunde said:
Huh. You are right. I almost never use landscape so hadn't noticed ...
Weird issue. Will hooefully be fixed in a future version of OHO+
Click to expand...
Click to collapse
You can also try the oneplus gestures app on the play store, you give it adb permission, hide the nav bar, but at the same time keep the oneplus gestures disabled, I'm sure it can work for you
Thanks for the tip. The One + Gestures app looks very similar to the XDA Navigation Gestures app.
There's also an app on the Play Store called, Hide Navigation Bar that ONLY hides the navigation bar using the same technique via ADB without any extra features I won't use.
Does anyone have any experience using the above apps' technique via ADB to hide the Navigation bar on the Note 9? To be honest, I'm a little nervous to try this method to hide the Navigation bar; since there are warnings of unpredictable results for certain features on Samsung hardware... like hiding the last row of pixels of the Navigation bar. It would be good to know from someone who's already tried this on their Note 9 what issues to expect. Also, I'm curious if there's any chance I could irreversibly break an OS component on my phone.
EDIT: I finally tried Hide Navigation Bar. It worked perfectly on my Note 9. I think it might be the only app that hides the navigation bar completely WITHOUT trying to add it's own gesture support. this allows me to use my favorite gestures app, One Hand Operation + (which uses edge gestures, even in landscape, instead of trying to do it the way iphone does).
The only minor issue is that the area that used to be the navigation bar cannot be used for app icons on the home screen. However, in applications themselves, that area is completely useable.
manupa14 said:
You can also try the oneplus gestures app on the play store, you give it adb permission, hide the nav bar, but at the same time keep the oneplus gestures disabled, I'm sure it can work for you
Click to expand...
Click to collapse

Full Immersive Mode

For those that want to take advantage of this beautiful screen and all it's glory. These commands will remove the status bar, the navigation bar, or both. They must be run using ADB. I did not create this, these commands have been around for quite a while and I have been using them as far back as the Galaxy S8.
They do the same thing as immersive mode in System UI Tuner but without having to install another app and run commands for that app to work and yes before you ask, I have used that same app on some of the recent phones I have had. These commands are just for those that want the full screen experience.
Without further ado here are the commands to be placed into ADB.
To hide the Status bar:
adb shell settings put global policy_control immersive.status=*
To hide the Navigation bar:
adb shell settings put global policy_control immersive.navigation=*
To hide both Status and Navigation bars:
adb shell settings put global policy_control immersive.full=*
To revert:
adb shell settings put global policy_control null*
Hope Y'all enjoy it.
truckerdewd said:
For those that want to take advantage of this beautiful screen and all it's glory. These commands will remove the status bar, the navigation bar, or both. They must be run using ADB. I did not create this, these commands have been around for quite a while and I have been using them as far back as the Galaxy S8.
They do the same thing as immersive mode in System UI Tuner but without having to install another app and run commands for that app to work and yes before you ask, I have used that same app on some of the recent phones I have had. These commands are just for those that want the full screen experience.
Without further ado here are the commands to be placed into ADB.
To hide the Status bar:
adb shell settings put global policy_control immersive.status=*
To hide the Navigation bar:
adb shell settings put global policy_control immersive.navigation=*
To hide both Status and Navigation bars:
adb shell settings put global policy_control immersive.full=*
To revert:
adb shell settings put global policy_control null*
Hope Y'all enjoy it.
Click to expand...
Click to collapse
is there a code to disable the nav bar permanently? for instance, with the code above it basically hides the nav bar. it is still available if you swipe up. i'd like to completely disable it so it never shows and use LMT with gestures instead.
knives of ice said:
is there a code to disable the nav bar permanently? for instance, with the code above it basically hides the nav bar. it is still available if you swipe up. i'd like to completely disable it so it never shows and use LMT with gestures instead.
Click to expand...
Click to collapse
Oh my god thank you. I'm looking for the same thing. I want to remove the navigation bar entirely. I use fluid navigation gestures right now, because I absolutely hate the OnePlus navigation gestures animation you get. (Flingy shrinking square effect)It feels like it's slowing down the phone.
But when you use the fingerprint sensor with fluid gestures, for a brief moment, the system has to shoot the navigation bar back down again. it's annoying and glitchy. It feels like I can't win, there's always a stupid animation I don't want to see
Burt Squirtz said:
Oh my god thank you. I'm looking for the same thing. I want to remove the navigation bar entirely. I use fluid navigation gestures right now, because I absolutely hate the OnePlus navigation gestures animation you get. (Flingy shrinking square effect)It feels like it's slowing down the phone.
But when you use the fingerprint sensor with fluid gestures, for a brief moment, the system has to shoot the navigation bar back down again. it's annoying and glitchy. It feels like I can't win, there's always a stupid animation I don't want to see
Click to expand...
Click to collapse
edit /system/build.prop:
Code:
qemu.hw.mainkeys=1
untested
knives of ice said:
is there a code to disable the nav bar permanently? for instance, with the code above it basically hides the nav bar. it is still available if you swipe up. i'd like to completely disable it so it never shows and use LMT with gestures instead.
Click to expand...
Click to collapse
I just go into settings and then into buttons & gestures and then navigation bare and gestures and set it for gestures and viola, nav bar gone.
truckerdewd said:
I just go into settings and then into buttons & gestures and then navigation bare and gestures and set it for gestures and viola, nav bar gone.
Click to expand...
Click to collapse
yes, but the nav bar still comes up when you swipe from bottom to top or when you open the keyboard to type something.
i have it set to hide both bars and thats what it does now
---------- Post added at 02:17 AM ---------- Previous post was at 02:15 AM ----------
Heisenberg420 said:
edit /system/build.prop:
Code:
qemu.hw.mainkeys=1
untested
Click to expand...
Click to collapse
unless there is something specifically different with oneplus - this build prop edit no longer works since going to Pie.
there definitely is some way to hide it because some custom roms like Resurrection Remix still remove it completely if you want.
gonna keep trying and see if i can get rid of it all together
Hi
I love to use the phone in full immersive mode, but I have problem with the keyboard. Let's say I have kb up in the browser. Somebody sends me a msg, I have the popup (which I'd also like to be able to disable btw, in case if you know a trick), and it brings back the statusbar for the time of the pop up, and that causes the reloading of the kb. Very annoying. Plus in whatsapp it breaks the ui, the top bar with the name of the contact disappears, and the type bar also covered by the kb for a few pixel widht. If the kb is not up, there's no problem. Am I the knly lucky with these issues?
truckerdewd said:
I just go into settings and then into buttons & gestures and then navigation bare and gestures and set it for gestures and viola, nav bar gone.
Click to expand...
Click to collapse
you're right - this is the way to do it. when you have it turned on the keyboard doesn't come up. that combined with the adb code to hide both bars seems to work
knives of ice said:
yes, but the nav bar still comes up when you swipe from bottom to top or when you open the keyboard to type something.
i have it set to hide both bars and thats what it does now
---------- Post added at 02:17 AM ---------- Previous post was at 02:15 AM ----------
unless there is something specifically different with oneplus - this build prop edit no longer works since going to Pie.
there definitely is some way to hide it because some custom roms like Resurrection Remix still remove it completely if you want.
gonna keep trying and see if i can get rid of it all together
Click to expand...
Click to collapse
This worked for me:
Requirements: ADB and Fastboot installed on PC or Mac.
Instructions: Type without quotations in CMD or Windows PoweShell (use "."before command in PowerShell):
"adb shell wm overscan 0,0,0,-202"
---------- Post added at 09:32 AM ---------- Previous post was at 09:30 AM ----------
And for full, semi, etc. immersive; EdExposed with GravityBox P --> Display Tweaks --> Expanded Desktop Mode settings. In addition, GravityBox adds the Expanded Desktop mode change button to the Power Menu
adb shell settings put global policy_control immersive.full=
hides it completely, been using since I got the phone, I love the impressiveness of full screen mode, only thing is the round corners sometimes partially obstruct screen elements, my previous Mi Mix was much squarer and didnt have this (minor) issue.
I only use the code for the status bar and not the one for the the nav bar or full since I use gestures. I did try it with it with full and had no issues with the buttons popping up when I swipe up or down nor did I have a y keyboard issues.
Skenderbeggar said:
This worked for me:
Requirements: ADB and Fastboot installed on PC or Mac.
Instructions: Type without quotations in CMD or Windows PoweShell (use "."before command in PowerShell):
"adb shell wm overscan 0,0,0,-202"
---------- Post added at 09:32 AM ---------- Previous post was at 09:30 AM ----------
And for full, semi, etc. immersive; EdExposed with GravityBox P --> Display Tweaks --> Expanded Desktop Mode settings. In addition, GravityBox adds the Expanded Desktop mode change button to the Power Menu
Click to expand...
Click to collapse
"adb shell wm overscan 0,0,0,-202"
this code moved it a bit too much. any idea what number stock is? trying different values and its not working
EDIT - i kept messing with this so the keyboard was at the very bottom and the number i needed was -75
Is there an easy way to enable per app nav bar immersive mode? On stock LG Oreo, there was a toggle on the nav bar that you could enable / disable per app to show / hide the nav bar (nothing for status bar .. but I like having the status bar).
If not I think I found something to work on
Edit : So I see that Renovate Ice offers per app, but I am not going to pay for a feature that I can fix myself. I run xxx no limits, and I think I will get in touch with that dev to see if he will let me work with him to get it added in.
-- Brian
I cheesed out and paid for Renovate. It is nice that you can run Renovate with xxx No Limits at the same time .. the only issue being the timeout of the AOD . Way too fast with both installed.
Again, I have only had this phone since Friday, but I will be tearing through the code, and fixing all these little issues that bug the sh*t out of me without someone having to pay for it
-- Brian
Hi
Is anybody there uses full immersive mode on 10?
Before on 9 I had some issues, when the keyboard was active. After it was fixed. (I was on havoc).
Now as I swapped to 10 some months ago, I have the same issue. I was waiting all these months to be fixed, but still the keyboard breaks the ui. You can see in whatsapp chat, substratum, even in xda app, when you write a post.
This only happens, when I hide statbar, as navbar is always hidden, that doesn't give problem, so I did a blacklist for the statbar for tgese apps. I use system ui tuner app.
Do you know any way to fix this?
I wrote a couple of times to the forum of the rom I use, but no answer. I know, not so popular the full immersive mode, but I really like it, please share if you know a fix, thanks.
BTW @truckerdewd I recommend putting a "" around the *
The * is a wildcard character and also sometimes treated as a regex
Code:
adb shell settings put global policy_control immersive.navigation="*"
That should prevent headaches for anyone using shells that auto fill the *
anupritaisno1 said:
BTW @truckerdewd I recommend putting a "" around the *
The * is a wildcard character and also sometimes treated as a regex
That should prevent headaches for anyone using shells that auto fill the *
Click to expand...
Click to collapse
I copied and pasted the exact commands from a web page that I have saved in my email. I have used the same exact commands all the way back to when the Galaxy S8 came out without incident. Best way to prevent the * from bring auto entered in command prompt is to not use Windows shell but to actually make windows use command prompt. Windows shell sucks and I detest it.
truckerdewd said:
For those that want to take advantage of this beautiful screen and all it's glory. These commands will remove the status bar, the navigation bar, or both. They must be run using ADB. I did not create this, these commands have been around for quite a while and I have been using them as far back as the Galaxy S8.
They do the same thing as immersive mode in System UI Tuner but without having to install another app and run commands for that app to work and yes before you ask, I have used that same app on some of the recent phones I have had. These commands are just for those that want the full screen experience.
Without further ado here are the commands to be placed into ADB.
To hide the Status bar:
adb shell settings put global policy_control immersive.status=*
To hide the Navigation bar:
adb shell settings put global policy_control immersive.navigation=*
To hide both Status and Navigation bars:
adb shell settings put global policy_control immersive.full=*
To revert:
adb shell settings put global policy_control null*
Hope Y'all enjoy it.
Click to expand...
Click to collapse
thanks! it worked!
A11 broke immersive mode it seems

Categories

Resources