android: correct omni-search IME docs to the declared adjustResize mode

The soft-input comments in the manifest, PipelinesApp.kt and android/README.md
still described `adjustNothing`, a mode the activity no longer declares. MainActivity
uses `android:windowSoftInputMode="adjustResize"` and the app draws edge-to-edge, so
the Compose window inset (WindowInsets.safeDrawing) is the single source of the IME
geometry and is applied once by the surface that owns it.

- AndroidManifest.xml: rewrite the soft-input comment to describe adjustResize, why
  the app is edge-to-edge and reads the IME from Compose window insets, and warn
  against changing it without re-checking the chat composer.
- PipelinesApp.kt: correct the bottom search column comment that claimed the activity
  declares adjustNothing and the window is never resized for the IME.
- android/README.md: correct the omni-search results-panel section that claimed the
  IME inset was counted once because of adjustNothing; now records the declared
  adjustResize mode, the edge-to-edge single source of IME geometry, and the chat
  composer's imePadding.

Documentation only; no rendered surface or behaviour changes. The omni-search entry
point and pill morph already exist at this HEAD; this reconciles the stale wording
with the committed mode.
This commit is contained in:
2026-10-16 22:48:28 +01:00
parent 910a7aa798
commit 0937327e8c
3 changed files with 12 additions and 11 deletions
+6 -7
View File
@@ -19,13 +19,12 @@
the user types an arbitrary host. Do not expose the server to the internet.
-->
<!--
adjustNothing: the app reads the IME from the Compose window insets
(paneSafeArea / WindowInsets.safeDrawing) everywhere, so the window
must not also be resized or panned for the soft input. The default
(adjustUnspecified) resized the window on the Pixel 10 Pro Fold for
the omni-search field, which is not inside a scrollable parent, and
the field then cleared the IME twice (once by the window resize, once
by the Compose inset) and floated above the keyboard.
adjustResize: the app is drawn edge-to-edge (enableEdgeToEdge), so it
reads the IME from the Compose window insets (paneSafeArea /
WindowInsets.safeDrawing) and applies it once in the surface that owns
it. Both the omni-search field and the chat composer (imePadding) sit
directly above the keyboard. This is the mode the chat UI was reviewed
with; re-check that composer before changing it to adjustNothing.
-->
<activity
android:name=".MainActivity"