Fitting 30 Keyboard Actions Into One Thumb Pull Without Popups

Aijie ShuFounder & Developer · Figurich8 min read

When we shipped the first mobile builds of UnimeType on iPhone and Android, the top bar above the keys held just three buttons: Convert, Polish, and Explain. You typed a bilingual sentence on one unchanging US QWERTY layout, tapped Convert once, and hit Send.

Then we lived inside that keyboard all day across Slack, WhatsApp, Mail, and WeChat, and small daily requests started piling up. Right after converting a sentence, you want to grab the 2nd homophone reading or revert an acronym back to raw ASCII letters. Replying to a Taipei or Hong Kong client, you want Traditional characters (繁體) for one message without opening Settings. Saving a teammate's unusual name to Personal Memory should take one flick, not four screens. On Polish, sometimes you only want punctuation cleaned up without touching a single word, or you want a polite three-line decline to a message you just copied to your clipboard. On Explain, you want to decode an indirect English reply like "Let's circle back on Q4 headcount once legal signs off" straight from your clipboard without pasting it into the chat box first.

Count every variant across those three actions and you end up with 33 distinct leaf commands. Fitting 33 commands inside a 240-point mobile keyboard without turning it into a cluttered cockpit forced us to rethink how touch menus work on glass.

Why Scrolling Strips and Popups Fail on a Soft Keyboard

Most mobile keyboards hide extra features in one of two places: a horizontally scrolling chip shelf (like Gboard's overflow toolbar) or a multi-tap modal bottom sheet. Both fall apart the moment you use them mid-sentence.

A horizontal strip only shows three or four chips at a time. Reaching option #19 means swiping sideways twice, reading tiny labels, tapping to open a sub-panel, and tapping again to return to QWERTY. A modal popup sheet is even worse: it steals three separate taps (Open → Category → Apply), breaks your thumb rhythm, and covers the conversation history you are actively replying to.

Our earliest instinct was to copy how letter keys handle accents (e → é / è / ê): press a top-bar button and slide upward above the keyboard. That prototype lasted less than an afternoon on real phones. Unlike bottom-row letter keys, Convert, Polish, and Explain already sit at the very top edge of the keyboard. Popping a two-column menu upward from the top bar immediately covers the app's text input field, hiding the exact sentence you are trying to inspect or polish. Worse, on Android, InputMethodService hosts its keyboard inside a SoftInputWindow that clamps upward out-of-bounds touch coordinates to Y = 0 unless you manually reconstruct screen offsets.

Pulling Downward Into the Key Stage

The fix was sitting right underneath our thumbs. The moment you press and hold an action button on the top bar, you are temporarily done typing letters—which means the entire 4-row QWERTY keycap area below the bar (~216 pt of prime thumb reach) is sitting idle.

Instead of reaching upward over your text, pressing and holding Convert, Polish, or Explain for 135 ms (or pulling downward at least 8 pt) stretches a two-column menu curtain downward over the keycaps. Your chat input box above the bar stays 100% visible the entire time. And sliding your thumb back above the top bar becomes a natural physical escape hatch: cross back above the bar, see the cancel banner, lift your thumb, and nothing runs. Before pulling downward, you can even scrub horizontally across the top bar to switch smoothly between Convert, Polish, and Explain in the same press.

Try it directly below with your finger or mouse—tap once for the default action, or press and pull downward into the keys to steer through L2 categories and L3 options in one continuous stroke:

Interactive mobile keyboard simulator · Press & pull down on any top button
ClipboardLet’s circle back on Q4 headcount once legal signs off.
manana tenemos sprint review at 3pm, can we move QA to Thursday
Tap a button for its default action, or press & pull downward into the keys to steer L2 → L3 in one stroke.
Preview L2/L3:

Solving the Diagonal Thumb Glitch With a Safe-Triangle Aim Cone

Splitting the key stage into a narrow category column (32% width for L2) and a wider action column (68% width for L3) let all 33 commands fit on screen with generous 44-point touch rows and zero scrolling.

Then we hit the classic cascading-menu trap—only worse, because a human thumb pad is 12 millimeters wide and pivots in an arc from the bottom corner of the phone. Suppose you pull down on Polish, rest your thumb on the second category (Tone), spot Polite near the bottom of the right-hand column, and glide diagonally toward it. On a naive hit-test grid, your thumb clips the top edge of the third category (Smart reply) for 30 to 50 ms right before crossing the vertical divider. The right-hand column swaps to clipboard reply options mid-flight, and lifting your thumb fires the wrong command.

One-thumb pull-down menu geometry showing the 90 ms diagonal safe-triangle aim cone on Convert and right-edge thumb mirroring on Explain

Desktop GUI designers solved the mouse version of this problem decades ago—most famously implemented in Ben Kamens' open-source jQuery-menu-aim geometry for Amazon's mega-dropdown. If the pointer moves inside the triangle formed by its previous position in the left column and the top and bottom corners of the right submenu, you freeze the active category while the pointer travels diagonally.

Porting that geometry to a capacitive thumb inside an iOS UIInputViewController and Android Compose canvas took three touch-specific adjustments:

  1. Velocity-gated 90 ms triangle lock: Touch sensors jitter slightly even when a thumb feels still. Rather than locking on position alone, our state machine checks smoothed horizontal velocity toward L3 alongside containment inside the dynamic aim cone (bounded to upward slopes of 0.24 and downward slopes of 0.85), holding the L2 category steady for 90 ms while your thumb crosses into L3. If you reverse direction back into L2 (x < 23% of keyboard width), the lock releases right away so deliberate category switches never feel sticky.
  2. Sinusoidal magnetic detents: Flat pixel division between three or four stacked rows makes boundaries feel slippery when you cannot see under your own thumb. Mapping vertical travel through a gentle sinusoidal curve (s - (0.22 / 2π) · sin(2πs)) gives the center of each L2 slot a subtle magnetic notch, paired with a soft selection haptic each time you step across a boundary.
  3. 75 ms fast-flick confirmation: Once muscle memory kicks in, experienced users do not pause on L3 to read—they pull down-and-right in one 180 ms diagonal flick and lift immediately. Whenever a gesture commits faster than 75 ms after entering an L3 option, the keyboard briefly flashes the chosen pill and fires a crisp rigid haptic tick before closing so your eye and thumb both know which option ran.

Mirroring the Right Edge for One-Handed Reach

Everything worked smoothly on Convert (left) and Polish (center), and then felt awkward the first time we held a 6.7-inch phone in one right hand and pulled down on Explain at the far right of the top bar.

With a standard left-to-right layout (L2 on the left 32%, L3 on the right 68%), pulling straight down from Explain dropped a right-handed user's thumb directly into L3 instead of the L2 category column—forcing an unnatural thumb stretch all the way across to the left bezel just to switch from Explain input to Explain clipboard, then all the way back right to pick Tone & subtext.

Flipping Explain horizontally solved it immediately. When you pull down on Explain, the 32% category column anchors along the right edge directly underneath your right thumb, and the 68% options column expands leftward toward the center of the screen—along with a mirrored right-to-left safe-triangle aim cone. Your thumb drops half a centimeter onto Explain clipboard, slides comfortably inward toward the middle of the screen to land on Tone & subtext, and pops open a read-only explanation card without ever shifting your grip.

Staying Invisible Ninety Percent of the Time

The best thing about a press-and-pull menu is that it adds zero visual noise to ordinary typing. Ninety percent of the time, UnimeType looks and behaves like a calm, unchanging English keyboard: you type your mixed-language thought at full speed with 0 Bytes of keystroke traffic, tap Convert once (or press Caps Lock on desktop and Option + Return on an iPad Magic Keyboard, where a flat 1 / 2 / 3 shortcut menu beats dragging), and move on.

When that tenth message arrives—a tricky homophone, a client who reads Traditional Chinese, or a cryptic English line sitting on your clipboard—all 33 tools are waiting one short downward pull under your thumb, and vanish the instant you let go (see the full option list in our Convert, Polish, and Explain guide).