WELCOME TO EHOST.COM.NP

Sunday, August 20, 2017

How to Adjust Gboard’s Keyboard Height Above the Highest Level

ads space

Gboard is a re-brand of what used to be called Google Keyboard and it contains more features over its predecessor including in-built Google search, multiple language support, and integrating smart suggestions into your typing. It also has contextual awareness, so if your grammar is incorrect sometimes it will try fix that too. The app is overall a huge improvement over the old Google Keyboard, as it does everything better than what it used to.

However, the application lacks some options. Some would argue the keyboard is too small. I prefer the keyboard to be small, using as little screen space as possible, but some people prefer it to be bigger as a smaller keyboard can lead to more inaccurate typing, which I do agree with. While there is a “Keyboard height” setting in Gboard preferences, some might find that even the tallest option is not tall enough.

Delving into the application’s data folder located in /data/data, we found some interesting modifiable strings that allow you to modify the keyboard height even beyond its highest level. This guide requires root access, as we will modify a file located in the /data partition. 

You will need root access on your phone to follow this tutorial. You can get root access by either flashing Magisk or SuperSU after unlocking your device’s bootloader. Note, any other modifications you make within the file are not guaranteed to work, and may break Gboard.


Adjust Gboard’s Keyboard Height Manually

Step 1

Firstly as mentioned you will need root access and some form of root enabled file explorer. You can use MiXplorer from here on XDA if you wish, or another file explorer like Solid Explorer. Make sure to grant root access to the file explorer.

MiXplorer (Free, XDA Labs) →

Step 2

Navigate to the following folder.


/data/data/com.google.android.inputmethod.latin/shared_prefs/

And look for the file named com.google.android.inputmethod.latin_preferences.xml. This file contains various preferences relating to Gboard, including the two strings we will look for to modify height and sensitivity. Simply open this file as a text file.

Step 3

You can use the find feature of your favourite text editor to edit the strings as this is a large file. Firstly search for “keyboard_height_ratio”. You should be brought to a string which looks like this.


<string name="keyboard_height_ratio">1.0</string>

You can modify this number any way you like. A larger number will increase the height, a lower number will decrease it. Once you have done this, you have to force close Gboard for it to launch with the new setting.

As you can see, the height has increased. This is because I increased the height from 1 to 1.5. You can set this to any range of values you like, but be careful as a value too large or too small won’t let you edit the file unless you clear data for Gboard or use a different keyboard to modify it back.


Bonus – Possible Swipe Sensitivity Tweak

This is a swipe sensitivity tweak, which may not actually do anything. The string exists and is modifiable, but we don’t know if it actually changes anything as it is hard to tell when swiping. To edit this, navigate to the same file again and this time locate the following string.


<string name="keyboard_slide_sensitivity_ratio">1</string>

And edit the value as you wish. Again force close Gboard (following the screenshots above) and the tweak should theoretically be activated. If you notice a different let us know!


Explanation

Most application settings are actually just inputs that write a value to a location in a file, and the application reads this for its configuration. These two tweaks do not have a front-end within the Gboard application for changing them, however the app still reads them. These are likely to be experimental features that Google either plan to add or haven’t removed yet. You can have a look through the preferences file and see if you see anything else of interest that may be worth modifying, and if so let us know!

ads space
ADS SPACE

0 comments:

Post a Comment

Categories

Article How-to All Posts WordPress Android Web design Blogger Plugins CSS Google JQuery Plugins Programming Reviews Web Hosting Blogger Blogging Blogging Tips Tricks Web Development Facebook Git Internet Make Money Online Social Plugins Tips Tips and Tricks Tools Tutorials Windows WordPress Plugins Blogging Tips and Tricks Freebies GSM Google Analytics HTML How To's JavaScript Plugin Development S.E.O SEO SMS SmartPhone Social Media Tips amp; Tricks Top-Most Updates Webmaster Tools Whatsapp Applications Apps Blogger Basics Documentary Downloads Entertainment Gadgets Games Gmail Google AdSense Guest Post IPhone Make Money Blogging SVN Security Softwares Web Hosting Tips and Tricks Wordpress Tips Wordpress Tips and Tricks hostgator iOS Advertising Networks Advertising Technology Affiliates Antivirus Audience amp; Traffic Biography Blog post Blog post Blogger Blogger Errors Blogger Tips Blogger Tools Blogger Widget Blogosphere Bogger Widgets CSS selectors CSS symbols CSS3 Computer amp; Internet Content Writing Coupon Codes Data amp; Analytics Deleted blog Design DoubleClick for Publishers Email and newsletter marketting Email marketing Excel Tips Excel Tips and Tricks Facebook Tricks Feed Feedburner Feedburner subscribers Font Fun GitHub Giveaways Gmail primary inbox Gmail tabs Google sign-in Guides HTML amp; CSS HTML5 Infographics Inspirational Instagram Internet Marketing Internet Tips amp; Tricks Job Listings Knowledge Life Hacks Lists Make-Money Monetization amp; Conversion Monetize Navigation Online Marketing Other PHP Tutorials Passport Publishing amp; Content Quotes RSS Sidebar Smartphones Social Networking Status Tech Tech Blog Technology Telegram Themes UI / UX User Psychology amp; Research VB.Net Web Tools Web browser Widget Windows Tips Windows-10 ad viewability admin notice blogging tools bluehost cherry-pick clone cors custom scrollbar customizer dismissible notices duplicate post feed title git branch git clone gpg gpg2 hybridauth iPad icon font notice responsive wordpress theme same origin policy scrollbar signed git commit smartsvn theme customizer vcs wordpress theme wordpress themes

Blog Archive