Skip to content

Fix sample app edge-to-edge layout - #120

Closed
KAbaidoo wants to merge 1 commit into
re-kast:developfrom
KAbaidoo:codex/fix-demo-edge-to-edge
Closed

KAbaidoo wants to merge 1 commit into
re-kast:developfrom
KAbaidoo:codex/fix-demo-edge-to-edge

Conversation

@KAbaidoo

@KAbaidoo KAbaidoo commented Oct 6, 2026

Copy link
Copy Markdown

Description

Enable edge-to-edge display in the sample app and apply safe drawing insets to its shared Compose scaffold and splash screen. This keeps the top app bar and screen content visible below the status bar on edge-to-edge devices. Remove the splash activity's obsolete inset listener.

No linked issue was provided.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / maintenance

Testing

  • ./gradlew :sample:testDebugUnitTest :app:assembleDebug :sample:spotlessCheck — passed.
  • ./gradlew build — blocked by 14 pre-existing :sample:lintDebug errors in untouched Compose preview and test files (FlowOperatorInvokedInComposition and UnusedMaterialScaffoldPaddingParameter).
  • Device or emulator validation was unavailable in this environment.

Checklist

  • I have read the Contributing guidelines.
  • The code builds and existing tests pass (./gradlew build); see the lint limitation above.
  • I have added or updated tests where relevant; the existing sample unit tests pass, and no new unit test is needed for system bar placement.
  • I have updated the documentation where relevant; this UI-only fix needs no documentation change.
  • No secrets, tokens, or subscription keys are included in this change.

- Enable edge-to-edge display in both sample activities.
- Keep the app bar, drawer, and splash content clear of system bars.
@KAbaidoo

KAbaidoo commented Oct 6, 2026

Copy link
Copy Markdown
Author

Superseded by #121, which uses the fix/demo-edge-to-edge branch name.

@KAbaidoo KAbaidoo closed this Oct 6, 2026
@KAbaidoo
KAbaidoo deleted the codex/fix-demo-edge-to-edge branch October 6, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant