mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
KeyboardView pads itself by the system bars' bottom inset (48 dp under gesture navigation on Android 14+, the IME's caption bar) so the keys stay above it. After a rotation the new view is measured once before its insets arrive, the window is sized to the unpadded 212 dp, and the insets then arrive inside that same layout pass: every later measure is capped at the window's height, so the padding squeezes the keys and the bottom row (?123, space, return) is clipped or gone, with a plain band of the inset's height below. A tester's realme RMX3750 showed it with a smaller inset. The listener now pads only when the insets change and lays out again after the pass, so the window grows to include them. Verified on an API 36 emulator (1080 x 2400, 420 and 400 dpi, Contacts' edit field): with gesture navigation after a rotation, the window was 557 px (212 dp) and the bottom row gone; now 683 px with all four rows and the IME's back and switcher buttons below. 3-button navigation, display cutouts (tall, double, corner, waterfall) and the first show were already right and are unchanged. ./gradlew :app:testDebugUnitTest passes (194 tests). |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||