hex/android/app/src/main/res
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 8ad758c3c5
Android keyboard: TalkBack (Gboard's lift to type, names, focus order) and Undo dictation (#2282)
What changed, and why (TalkBack 16 on a Pixel 8 emulator, API 36, against Gboard in the same field):
- Typing on lift while exploring by touch. Hex's keys typed nothing when the finger lifted; Gboard
  types the key under it. Keys now say they are text entry keys (AccessibilityNodeInfo
  .isTextEntryKey), so TalkBack's own Typing preference types them on lift (its default: "Hold
  finger to select letter key, then lift"; double-tap if the person chose that): letters, symbols,
  shift, delete, comma, period, space, pad digits and marks. Switches (?123, ABC, 1234, !?#, *#, the
  symbol pages' switch), emoji and enter take a double tap, as Gboard's do. A finger slid off the
  keyboard before lifting types nothing.
- Names as Gboard's: no "Button" after every key; shift says "Shift", "Shift enabled" or "Caps lock
  enabled"; space says "Space", its long press "Dictation language, English"; keys with a hold list
  offer "Show more characters", which opens the list as rows to double-tap (page title "More
  characters", was "Accents"); the period's punctuation list is reachable this way too, and a phone
  pad's 0 offers "Type +". Pad switches are "Phone symbols", "Phone keypad", "Symbols" and "Letters"
  instead of their glyphs. The keyboard window is "Hex keyboard, English" (it was the first
  suggestion, "the").
- Recording bar: the waveform is a polite live region, so TalkBack says "Transcribing" when it
  changes; TalkBack itself keeps quiet while the microphone records, so nothing is said over a
  dictation. ✕ is "Cancel dictation", ✓ "Finish dictation".
- Undo dictation (iPhone Hex's chip, on the dictation helper's list as a keyboard item): after a
  dictation an "Undo dictation" chip takes the slots' place for 12 s, until the next key, or until the
  cursor leaves the dictation's end; tapping it deletes the dictation when it is still right before
  the cursor with nothing selected, so it never deletes anything else.
Focus order was already rows in reading order: suggestions, Hex menu, Hex key, q to p, a to l,
shift, z to m, delete, then ?123, comma, emoji, space, period, enter.

Verified (emulator only, Pixel 8, API 36 with TalkBack 16, its verbose log read for what it spoke,
real touch exploration as kernel touch events through the emulator console): every key's spoken
name on the letters, symbol and pad pages and in the emoji panel; exploring a, space, shift, s,
delete and lifting types "a S" then deletes; 2 3 0 on the phone pad by lift types "230"; sliding off
the keyboard types nothing; holding e 3.8 s opens More characters and a double tap types "è";
emoji by double tap; swipe navigation walks the order above; the Hex key starts and finishes a
dictation by double tap; Undo dictation after "Note: " + a dictation leaves "Note: ", a key or 12 s
take the chip away. With TalkBack off, rollover, holds and pads still type as before (API 36 and
31). assembleDebug, testDebugUnitTest and lintDebug pass.
2026-11-21 18:52:45 -05:00
..
drawable Android keyboard: TalkBack (Gboard's lift to type, names, focus order) and Undo dictation (#2282) 2026-11-21 18:52:45 -05:00
font Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00
mipmap-anydpi-v26 Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00
values Android keyboard: TalkBack (Gboard's lift to type, names, focus order) and Undo dictation (#2282) 2026-11-21 18:52:45 -05:00
values-de Android keyboard: number, phone and date pads, the symbol page's 1234 pad, faded keys behind hold lists, emoji titles in sentence case (#2276) 2026-11-21 18:21:08 -05:00
values-es Android keyboard: number, phone and date pads, the symbol page's 1234 pad, faded keys behind hold lists, emoji titles in sentence case (#2276) 2026-11-21 18:21:08 -05:00
values-fr Android keyboard: number, phone and date pads, the symbol page's 1234 pad, faded keys behind hold lists, emoji titles in sentence case (#2276) 2026-11-21 18:21:08 -05:00
values-it Android keyboard: number, phone and date pads, the symbol page's 1234 pad, faded keys behind hold lists, emoji titles in sentence case (#2276) 2026-11-21 18:21:08 -05:00
values-nb Android keyboard: number, phone and date pads, the symbol page's 1234 pad, faded keys behind hold lists, emoji titles in sentence case (#2276) 2026-11-21 18:21:08 -05:00
values-night Android keyboard: emoji key and panel (AndroidX emoji picker), whole-emoji delete (#2275) 2026-11-21 17:56:03 -05:00
xml Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00