Repository navigation
android: Labs › Keyboard › No gap under the keys (#3004) - #3011
Open
opencodejr[bot] wants to merge 1 commit into
Open
opencodejr[bot] wants to merge 1 commit into
opencodejr[bot] wants to merge 1 commit into
Conversation
opencodejr
Bot
force-pushed
the
agent/issue-3004
branch
2 times, most recently
from
November 28, 2026 04:50
f73ae10 to
c488eb7
Compare
opencodejr
Bot
force-pushed
the
agent/issue-3004
branch
from
November 28, 2026 04:53
c488eb7 to
ffc2a6f
Compare
|
@opencodejr seems there are conflicts |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an Android keyboard lab, Labs › Keyboard › No gap under the keys (off by default), requested in #3004.
When it's on, the bottom row's keys end where the system navigation bar begins. The gap Gboard leaves under them is gone (12.2 dp on a Pixel 8:
KeyboardMetrics.BOTTOMplus the row's own space under its keys).Changes
TypingPreferences.flushBottom(flushBottomkey), shown in Settings › Labs › Keyboard, with English and zh-CN strings like the neighbouring labs.KeySizerecords whether the lab is on.KeyboardView.sized(height, flushBottom)andHexKeyboardrebuild an open keyboard when it changes, the same way the Height setting does (deferred while a dictation runs).KeyPlaneView: the bottom row, the emoji panel's bottom row, the last row of each pad andmenuHeightall get their bottom space fromlastUnder(). It returns 0 with the lab on andunder + bottomExtrawith it off. Off, every height and padding works out to the same value as before. The rows above don't move.android/README.mddescribes the lab. Android labs have no entry indocs/features/orsite/src/labs.json.Credit to @dgunay for the idea and for finding where it goes (
bottomExtra = -insetBottomin their fork). This is a fresh implementation; no code was copied from the fork.Testing
python3 scripts/code-shape.py --checkpasses../gradlew assembleDebug testand check on a phone or emulator with gesture navigation, with the lab on and off, in portrait and landscape, on letters, ?123, emoji, the Hex menu and a number field.Closes #3004