hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 4b979038a0
android: Gboard's ?123 and =< symbol pages (#2678)
* android: Gboard's ?123 and =< symbol pages

The keyboard's two symbol pages were copied from the iPhone layout, so , and .
were drawn twice (row 3 and the bottom row), ` could not be typed at all, and
#, _, +, *, = and ¢ ° © ® ™ ✓ § √ π ÷ × Δ were missing or on other pages than
Gboard's.

Both pages are Gboard's now (Pixel 8 emulator, API 36):

?123  1 2 3 4 5 6 7 8 9 0
      @ # $ _ & - + ( ) /
      =< * " ' : ; ! ? backspace
      ABC , 1234 space . enter

=<    ~ ` | • √ π ÷ × § Δ
      £ ¢ € ¥ ^ ° = { } \
      ?123 % © ® ™ ✓ [ ] backspace
      ABC < 1234 space > enter

The second page's bottom row carries < and >, which its rows leave out, so both
stay typeable, and a held < or > keeps the marks they offered as keys.

Labs › Keyboard › Local currency still takes $'s slot on ?123. The =< page now
shows $ in that currency's slot for a local £, € or ¥, and gives ¥'s slot to $ for
one it never drew (₹, ₱, ₩, ₽, ₴), so nothing is drawn twice and $ stays on one of
the two pages. Spanish's ¿ and ¡, which were extra keys on the old second page,
are the holds on ? and ! that every layout already had; the rows are Gboard's for
every language now.

SymbolPagesTest asserts each page's keys, that every printable ASCII character
types from the letters or the two pages for every layout and local currency, and
that no page draws a key twice, the bottom row included.

* android: keep € in the =< money row for any local currency

A currency with no slot of its own (₹ ₱ ₩ ₽ ₴) took both ¥'s and €'s slots,
leaving nine keys on the row and no € key at all. Only ¥ gives its slot to $
now, so £, ¢ and € stay drawn and the row keeps its four keys.

The comma key is long-clickable only on the =< page again, as it was before
the symbol pages changed, and the doc comments say which slot a local
currency takes. LocalCurrencyTest and SymbolPagesTest check every currency's
ten-key rows and that £ ¢ € ¥ $ all stay typeable, on a page or a hold.

* android: say what the money row and $'s holds actually do

android/README.md still described the old second symbols page: €£$ and
"exactly as before" with the lab off. It now says the money row is £ ¢ € ¥,
that a local £, € or ¥ gives its slot to $ and any other takes only ¥'s (so
£, ¢ and € stay), and that off the pages draw Gboard's rows.

docs/features said $'s holds keep every symbol except a local ¥. They drop
whatever the local currency is, whichever key's list it is.

SymbolPagesTest's money check now counts drawn keys rather than keys and
holds, so € missing from both pages fails even though $ still holds it.
2026-11-24 06:42:07 -05:00
..
src android: Gboard's ?123 and =< symbol pages (#2678) 2026-11-24 06:42:07 -05:00
build.gradle.kts Android: Send feedback form that posts to Bellhop (#2582) 2026-11-23 15:51:14 -05:00
proguard-rules.pro Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00