- Decision
- ADR-148
- Date
- 2026-10-08
- Status
- AcceptedAccepted
- Part
- Keyboard
- Mentions
- ADR-146
- Mentioned by
- ADR-146, ADR-149
1Decision
The keyboard restyle of ADR-146 is delivered with a different landscape cause and mechanism than ADR-146 assumed, found by a device measurement and a source review.
The input method window is laid out under the display cutout (layoutInDisplayCutoutMode ALWAYS), where the platform pads the content root by the cutout and system-bar insets; the keyboard background becomes the window background, drawn from the keyboard top down over the whole width; the insets and the touchable region use window coordinates; the key preview, the popup panels and the gesture trail are placed relative to the content view; the shadow of the input view is removed.
Look changes decided with the owner: one tap on shift and the automatic capital show the letter tone; the phone and number digits are 70% (portrait) and 80% (landscape) of the key height with their sub-labels at 150% off-centre; the hint digits keep 5 dp from the right edge; the emoji tab bar is transparent and its action caps keep 4 dp from the screen edge; the phone mode keys are functional keys; the grey , _ / . keys of the symbols layouts stay.
The patches are 0001 and 0002 of keyboard/restyle (ADR-146), branch sovereignos-keyboard-restyle-5.
2Why and evidence
Measured on lynx (image 2026100226, 2026-10-07): the window frame was 118 px narrower than the display on the camera side and the keyboard, whose width already excludes the cutout inset, filled it exactly, so the defect was an empty strip, not keys under the camera (docs/research/keyboard-landscape-inset-investigation.md).
A read-only review of the diff found that padding the input view would pad twice, that an opaque background cannot sit on the screen-tall input view, that the action caps and the key preview need an intrinsic size, and that previews and panels are placed in window instead of content coordinates; the device rounds of 2026-10-08 (images 2026100702 to 2026100705) found the rest.
Owner decisions in chat 2026-10-08: the digit size from a mock-up of 90, 80, 70 and 60%, the shift tone, the grey symbol keys accepted, the work closed.
3Consequences
Patch 0001 alone paints the keyboard background on the full-height input view; the two patches are applied together. The platform padding of the content root and the placement of previews and panels are confirmed on lynx, in landscape on both sides and in an immersive portrait app. No shadow above the keyboard. Not run: the emoji panel with the camera on the right and a before value of the typing smoothness (KBD-011). Evidence: the rows KBD-001 to KBD-013.
4Review when
An upstream change of WindowLayout, the content insets of PhoneWindow or the window handling of LatinIME; a device or release where the cutout margin shows the app again or previews and panels are placed off the finger.
Read from docs/governance/decision-log.md, entry ADR-148.