Skip to content

fix(ApiDemos): improve window insets handling, save state layout, and demo reliability - #2392

Closed
dkhawk wants to merge 1 commit into
stack/2-wearosfrom
stack/3-apidemos-insets-and-core
Closed

fix(ApiDemos): improve window insets handling, save state layout, and demo reliability#2392
dkhawk wants to merge 1 commit into
stack/2-wearosfrom
stack/3-apidemos-insets-and-core

Conversation

@dkhawk

@dkhawk dkhawk commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Edge-to-Edge System Insets: Update SamplesBaseActivity in both Kotlin and Java to safely apply window insets to root view containers and programmatic layouts without double-padding nested fragment views.
  • SaveState Demo: Add missing save_state_demo.xml layout and wire up SaveStateDemoActivity.kt.
  • LocationSource Demo: Ensure LocationSourceDemoActivity displays its dedicated toolbar title.
  • Lint & Modernization: Clean up lint warnings, string templates, borderless button styles, and layout constraints across standard map demos.

Part of stack: #2390 -> #2391

… demo reliability

- Update SamplesBaseActivity (Kotlin & Java) to safely handle root view insets without double-padding child views
- Add missing save_state_demo.xml layout and wire up SaveStateDemoActivity
- Fix toolbar title in LocationSourceDemoActivity
- Clean up lint warnings, string templates, and layout constraints across standard map demos
@dkhawk
dkhawk force-pushed the stack/3-apidemos-insets-and-core branch from f9acf2c to db35260 Compare August 18, 2026 21:21
@dkhawk

dkhawk commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of split PRs: #2397, #2398, #2399, and #2400.

@dkhawk dkhawk closed this Aug 18, 2026
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