[OFFICIAL XDA] Navigation Gestures - Get iPhone X/OnePlus style gesture control

MishaalRahman

Editor in Chief
Nov 2, 2015
1,038
2,115
153
www.xda-developers.com

Jealous of the cool new gesture navigation feature on the Apple iPhone X, Android P, or OnePlus 5T/OnePlus 6? With Navigation Gestures, you don't have to go out and buy a new phone if you want to change the way you use your phone. This app brings gesture navigation to any Android device!

Best of all, with Navigation Gestures you can completely hide the stock navigation bar without root! This is the only gesture control app with this feature.

Swipe left, right, up, or down. Swipe up and hold. Tap. Double tap. Long press. There's a lot of ways you can interact with the gesture bar to control your phone. Don’t like how the gesture bar looks? You can customize its appearance! Here’s what you can do:

Gestures
  • Taps
    • Single tap
    • Double tap
    • Tap and hold (long press)
  • Swipes
    • Swipe up and hold
    • Swipe left
    • Swipe left and hold
    • Swipe right
    • Swipe right and hold
    • Swipe up
    • Swipe down
  • Split Pill
    • Swipe up from left
    • Swipe up and hold from left
    • Swipe up from center
    • Swipe up and hold from center
    • Swipe up from right
    • Swipe up and hold from right
Actions
  • Free
    • Home
    • Back
    • Recent apps
    • Toggle split-screen (requires Android Nougat+)
    • Open previous app (requires Android Nougat+)
    • Open Assistant
    • Hide pill
  • Premium
    • Pull down the notification shade
    • Pull down quick setting tiles
    • Open power menu
    • Skip to previous media track*
    • Skip to next media track*
    • Play/pause current media track*
    • Switch keyboard dialog
    • Launch app**
    • Lock screen***
    • Screenshot****
    * Media actions are not guaranteed to work with every app. Media actions use standard Android APIs to work with most apps.
    ** If you notice that an app is "slow" to launch after using the pill to trigger the home button, that's because of an obscure change made all the way back in Android 4.4 KitKat. Unless you have this Xposed Module or a custom ROM installed with the patch, there's no way around it.
    ***Lock Screen is compatible with the vast majority of devices. How it works is like this: Makes screen brightness and display timeout minimum and then displays a fullscreen black activity until the phone actually enters sleep mode from the timeout (~5 seconds.) There are other ways to lock the screen but we decided against them, at least for this release.
    ****Screenshot action uses the MediaProjection API, which is normally used to record the screen. Here, we just record the screen for a single frame. This is the only way pre-Android P for it to work. Screenshots are saved to /Pictures/NavigationGestures
Appearance (all free)
  • Toggle pill shadow
  • Customize pill color
  • Customize pill transparency
  • Customize pill border color
  • Customize pill corner radius
  • Customize pill width/height
  • Customize pill vertical/horizontal position
Behavior (all free)
  • Show NavBar in Selected Apps
  • Hide Pill in Selected Apps
  • Customize vibration duration
  • Customize animation duration
  • Hide Pill After Specified Delay
  • Hide in Fullscreen apps
  • Don’t Move pill when Keyboard Shown
  • Show Pill in Car Mode
  • Larger Hitbox
  • Horizontal (X) Swipe Distance
  • Vertical (Y) Swipe Distance
  • Swipe and Hold Time
Compatibility (all free)
  • Hide Navigation Bar in Landscape
  • Hide Navigation Bar on Tablets
  • Show Navigation Bar in Fullscreen
  • Enable Immersive Navigation Mode with Immersive Blacklist
Experimental (all free)
  • Hide Pill when Keyboard Shown
  • Keep Pill Shown in other Overlay Apps
  • Use Full Overscan

Download

Download Navigation Gestures from the Google Play Store.

Download Navigation Gestures Premium Addon from the Google Play Store.

Join our beta testing group on Telegram

XDA:DevDB Information
Navigation Gestures by XDA, App for all devices (see above for details)

Contributors
MishaalRahman, Zacharee1

Version Information
Status: Stable
Current Stable Version: 1.3.0
Stable Release Date: 2018-07-09

Created 2018-05-19
Last Updated 2018-07-09
 

Attachments

Last edited:

MishaalRahman

Editor in Chief
Nov 2, 2015
1,038
2,115
153
www.xda-developers.com
Frequently Asked Questions

  • Help, I uninstalled the app and I can't access my navigation bar anymore!
    • Please connect to your computer and run the following command:
      Code:
      adb shell wm overscan reset
  • Help, I uninstalled the app and the original navigation bar keeps hiding itself!
    • Please connect to your computer and run the following command:
      Code:
      adb shell settings delete global policy_control
  • Can we add a feature where the pill is in its own separate area so it doesn't overlap with certain UI elements?
    • No, sorry. We are already pushing the screen content down to hide the nav bar. Adding this feature would require us to push the screen content up as well. We can’t have it both ways.
  • There's a "white line" at the bottom of the screen!
    • This is NOT a bug. This is a side-effect of a change we intentionally made after version 1.0.0 because without it, many Samsung, Motorola, and Xiaomi devices were reporting major bugs (eg. black screen after unlocking which made the phone unusable.) The “white line” is caused by the navigation bar being hidden 99.99% but not 100% (ie. we hiding the navigation bar entirely except for 1 pixel.) So the “white line” is actually just your navigation bar that’s colored white. We added an Experimental Setting called "Use Full Overscan" which gets rid of the white line. Use it at your own risk.
  • Pill doesn't work with Samsung DeX/Samsung Good Lock!
    • Android prevents third-party apps from showing overlays on top of SystemUI apps like the status bar and lock screen. You can use the blacklist function in Behavior settings to make the original nav bar show in these apps.
  • Pill doesn't show when you open the camera from the lock screen, answer a call from the lock screen, or open a notification for quick reply from the lock screen!
    • Android prevents third-party apps from showing overlays on top of SystemUI apps like the status bar and lock screen. This also includes calls, apps, or notifications answered from the lock screen. The pill cannot be shown until you unlock the device.
  • Pill doesn't show in Facebook Messenger, Drupe, or other floating apps!
    • Go to Experimental Settings and select the "Keep Pill Shown in other Overlay Apps." Pick Messenger, Drupe, etc. in this list.
  • Pill doesn’t work with screen pinning.
    • We have no way of simulating a long press on the back button without root. A tentative solution we are looking into is detecting when the phone enters a pinned screen state and disabling the pill to bring back the stock nav bar.
  • Home action doesn't work on the OnePlus 5!
    • OxygenOS prevents the app from performing the home action if you both enable the software navigation bar and disable the "always enable home button" option in Button settings. To fix this, please enable the "always enable home button" option.
  • Pill keeps "jumping" up and down with the navigation bar!
    • This means you either enabled Immersive Mode manually (ie. not from the app) or another app triggered Immersive Mode which is interfering with our app. Here are some possible causes and solutions:
      • Nova Launcher: In the "Notification Bar" section under "Look & Feel," there may be a "Hide Navigation Bar" option. If there is, check to make sure that it is disabled.
      • LG G6/LG V20/LG V30/LG G7 ThinQ: Go to*Settings > Display > Home touch buttons > Hide Home touch buttons and disable the "lock/hide icon" option up top and uncheck every app in the list.
      • Samsung Galaxy S8/Samsung Galaxy Note 8/Samsung Galaxy S9: Go to*Settings > Display > Nav Bar > Show and Hide Button and turn off the toggle up top and uncheck every app in the list.

Feature requests

  • Is it possible to keep the pill in the same spot when rotating the screen?
    • We will be adding this as a feature in a future release.
  • Can we add an action to launch a shortcut/activity?
    • Yes, that is planned for a future release (premium.)
  • Can we add Tasker integration?
    • Yes, that is planned for a future release (premium.)
  • Can we add a swipe down and hold gesture?
    • Yes, that is on our todo list.
 
Last edited:

MishaalRahman

Editor in Chief
Nov 2, 2015
1,038
2,115
153
www.xda-developers.com
Is there improvements in performance or anything while rooted?
There's no difference with running this on a rooted device right now except it'll make setup easier (you don't need to use your PC for set up if you're rooted.)

In a future release we may allow for shortcuts/intents to be sent so you can customize the action to your heart's content (and potentially use root to do more actions.)

Also, if there's enough demand we may use input KeyEvent commands to inject button presses rather than the Accessibility API. This should give better performance but it requires root. It's not something we've implemented yet though.
 

xx1182

Senior Member
May 3, 2007
66
6
0
There's no difference with running this on a rooted device right now except it'll make setup easier (you don't need to use your PC for set up if you're rooted.)

In a future release we may allow for shortcuts/intents to be sent so you can customize the action to your heart's content (and potentially use root to do more actions.)

Also, if there's enough demand we may use input KeyEvent commands to inject button presses rather than the Accessibility API. This should give better performance but it requires root. It's not something we've implemented yet though.
Well, for me is no big deal. But for others, running ADB could be. I don't think it's right to not be able to skip that permission, since, you can(almost) disable completely the taskbar..
 
Last edited:
  • Like
Reactions: mexicoz

dexz

Senior Member
May 12, 2010
485
168
63
Great app but after I enabled Navigation Gestures. My icons/screen move to the right side. I'm using S9+ . Please advise.
 

MishaalRahman

Editor in Chief
Nov 2, 2015
1,038
2,115
153
www.xda-developers.com
when the typing, pill is up-on the keyboard. it must always be in the bottom.
That's by design so it doesn't interfere with the keyboard.

@MishaalRahman: APK ?
Sure, we'll post the APK soon.

asking for root permission on Samsung S9 plus SM-965F. without root permission app is not functioning
You can ignore the root prompt and follow the instructions to grant the permission manually by ADB.

Great app but after I enabled Navigation Gestures. My icons/screen move to the right side. I'm using S9+ . Please advise.
That is very strange. This seems to only be happening on Samsung phones. We asked Max Weinbach who has an S9 to test it and he never had this issue. We'll have to figure out why that happens.
 

dandemonic

Senior Member
Nov 29, 2012
461
208
73
Adelaide
Thanks for this app, I'm having fun playing with it.

Using it on Oneplus 5t oreo stable 5.1.1 magisk root, all permissions granted, premium addon installed, nova launcher beta.

When I set the vibration to 0ms when I exit that page of settings the vibration gets automatically reset to the default 50ms.

This does not seem to occur on any setting from 1ms upwards. I am interested to see if anyone else can reproduce this behaviour.

The way the pill works with SwiftKey keyboard is interesting, perfectly functional but not an ergonomic location on a longer screen for me.

Edit: ninja'd by the OP, see why you've done it that way with the keyboard now.
 

Attachments

Last edited:

dexz

Senior Member
May 12, 2010
485
168
63
That is very strange. This seems to only be happening on Samsung phones. We asked Max Weinbach who has an S9 to test it and he never had this issue. We'll have to figure out why that happens.
I see now. It only happened when doing gesture up on the screen for "All Apps" the only way for me to make it normal again by turn the the screen off and turn it on again.
 

fatalynx

Senior Member
Sep 30, 2010
61
1
0
anyone know how to turn off that system prompt displaying over other applications on notification? kinda annoying...btw using emui 8 oreo 8.1
 

donedos

Senior Member
Jul 8, 2012
394
126
73
Bacolod
Working fine on my Xperia Z5 running stock nougat...

Pill on top of the Keyboard is the safest position in my opinion to avoid accidentally pressing it when tapping the space key..

I hope you can introduce more swiping features in your future updates.

Great work.

Edit:
In some games the pill disappears completely leaving no option to exit the game. What I did was to go to settings via control pannel.
 

Attachments

Last edited: