mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The strip split its row into three equal slots and ellipsized each word at
16sp. A candidate wider than its third was cut even when the row had room
("benc…" and "bench…" for "benchm" / "benchmark"), and a larger system font
size made even short words need more than a third.
Each slot now takes a share of the row that follows its word's width (with a
56 dp minimum weight, not a guaranteed tap width when the row is crowded),
so empty slots collapse and a short word leaves its room to a long one. A
word still wider than its share shrinks from 16sp towards 12sp before the
strip ellipsizes it, measured and set through the same sp→px conversion so
Android 14's non-linear font scale can't shrink a word that fits. Slot
widths move with their words, so the middle word isn't always exactly
centred. Dividers show only between two filled slots.
Verified: testDebugUnitTest passes, including StripTextTest's four fitTextSize
cases, and compileDebugKotlin builds the keyboard. Not run: assembleDebug (no
NDK here) or a device/emulator.
|
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||