fix(android-llmservice): keep the log strip above the system navigation bar#318
Merged
bernardladenthin merged 1 commit intoJul 10, 2026
Merged
Conversation
…on bar (edge-to-edge insets) On Android 15 (targetSdk 35) the app is edge-to-edge by default, so the bottom log strip was drawn behind the system navigation bar (back/home/ recents) and got covered. Enable edge-to-edge explicitly on every version (consistent inset reporting) and pad the log strip's content above the navigation bar via navigationBarsPadding — the Surface background still fills to the screen edge, but the icon+text sit above the nav bar and stay visible. requirements.md R7.1 updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HTS5FpMtBLJENTGoRUrp5m
|
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
The bottom log strip was hidden behind the Android system navigation bar (back / home / recents). Cause: on Android 15 (
targetSdk 35) apps are edge-to-edge by default, so the window draws behind the nav bar and the strip — the lowest app element — landed underneath it.Fix (the "put the app content above the nav bar" approach the user asked for):
enableEdgeToEdge()inonCreateso inset handling is consistent on every Android version (avoids the version-specific double-gap you'd get by only padding).navigationBarsPadding()so the 🧾 icon + text sit above the nav bar. TheSurfacebackground still fills to the screen edge behind it (so it looks like a full-width bar), but the content is never covered.The
TopAppBaralready handles the status-bar inset (Material3 default) and theScaffoldcontent is inset via itsinnerPadding, so only the custom bottom bar needed the manual inset.requirements.mdR7.1 updated to record the behavior.No API/behavior change beyond layout; the instrumented UI test (which drives
promptInput/sendButtonin the content area) is unaffected.Test plan
enableEdgeToEdge()fromandroidx.activity(present in activity 1.9.3, via activity-compose) +navigationBarsPadding()from compose-foundation (BOM)build-android-llmservicecompiles + runs the on-device Compose test (API 30 emulator)requirements.mdR7.1Related issues / PRs
Follow-up to the
android-llmserviceapp (PRs #310–#317). Reported: the bottom log strip is covered by the Android navigation bar.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01HTS5FpMtBLJENTGoRUrp5m
Generated by Claude Code