Gesture Navigation: Remove Space Under Keyboard

Remove Space Under Keyboard: Google launch gesture navigation in Android 9 Pie. Soon after, many smartphone developers choose an idea and implementing their own set of navigation gestures. As a result of many forms of navigation gestures on many Android smartphones. However, the most popular gesture navigation comes from:

  • Oxygen OS 10 by OnePlus
  • OneUI 2.0/1.0 by Samsung
  • MIUI 11 by Xiaomi
  • Stock ones by Google

As a result of some conflicts like the blank space, we see under the Samsung keyboard or OnePlus keyboard that is meant for the navigation bar. Here is how to remove the space under Android keyboards.

Moreover, with Android 10, Google has completely removed the navigation bar for the Pixel 4 and 4 XL devices. While the old generations of Pixel 3 and 3 XL can still allow the navigation bar. Android 10 enables users using gesture navigation as its primary navigation method on Android phones.

There are few UI bugs for some third-party apps and firmware vendors like Samsung and OnePlus. So under the stock, Samsung keyboard users are checking blank space while using navigation gestures that are assumed to be for the full-fledged navigation bar.

Remove Space Under Keyboard Using Simple cmd Command:

Using simple ADB command you can erase space under the Android keyboard. While using navigation gestures on Android 10 or 9 Pie or earlier. While this has been tested working on Samsung’s One UI and OnePlus’ Oxygen OS firmware. You can also try it on other devices too including:

  • Xiaomi’s MIUI
  • Huawei’s EMUI
  • LG’s LGUX
  • Asus

How to remove space for navigation bar using gesture navigation?

Now, this method will not just remove the navigation bar space under navigation gesture but also it will work throughout the operating system. It brings down the UI giving you more screen real estate on your Android phone.

Step 1:

Enable USB Debugging on your Android device from Developer Options. To enable developer options, click on build number in About Phone about 7 times.

Step 2:

Make sure you have setup ADB and Fastboot environment on your computer, Mac Book, or Linux machine.

Step 3:

Now Connect your Android device to the computer via USB cable.

Step 4:

Then navigate to the location where you setup ADB. Then open a command prompt or terminal window inside the ADB folder. To do so, simply type cmd in the address bar and press the Enter key.

Step 5: 

Now check your device connectivity. Issue the following command via terminal. It should start the demon and list the device. Enable the connection of mobile devices when prompted.

adb devices

Step 6:

Enter the following command to remove the navigation bar space.

adb shell wm overscan 0,0,0,-75

Default value:

adb shell wm overscan 0,0,0,0

Note: You can also change the last value and go up to -100 for the full screen.

adb shell wm overscan 0,0,0,-100

Note 2: On MacOS and Linux OS you can try prefixes like ./adb and sudo adb. You can also play around with the last value and set it according to your needs.

Then Exit the command prompt and bring up the keyboard by typing in your messaging app and check out the difference.


For further queries and questions let us know in the comments section below!

Also Read: Enable Night Mode for Selfies on One UI 2 Android 10 update on Samsung Galaxy

Leave a Comment

Scroll to Top