Android demo app improvements (bottom sheet, recenter button, etc.)#884
Merged
ianthetechie merged 5 commits intoMay 27, 2026
Merged
Conversation
…o app based on maplibre-compose, featuring a bottom sheet for location details and improved camera handling.
# Conflicts: # android/demo-app/src/main/java/com/stadiamaps/ferrostar/DemoNavigationScene.kt # android/demo-app/src/main/java/com/stadiamaps/ferrostar/DemoNavigationViewModel.kt # android/demo-app/src/main/java/com/stadiamaps/ferrostar/NotNavigatingOverlay.kt # android/ui-maplibre/src/main/java/com/stadiamaps/ferrostar/maplibreui/runtime/MapControls.kt
ianthetechie
approved these changes
May 27, 2026
| implementation libs.androidx.compose.ui.graphics | ||
| implementation libs.androidx.compose.ui.tooling | ||
| implementation libs.androidx.compose.material3 | ||
| implementation libs.androidx.compose.material.icon.extended |
Contributor
There was a problem hiding this comment.
We can probably should replace this with SVGs (it's not a merge blocker for the demo app but does increase build times).
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
This follow-up improves the Android demo app UX on top of the ongoing
maplibre-composemigration in #853.Instead of starting navigation immediately from a long press or search result, the demo now uses an explicit destination-selection flow with a preview bottom sheet, camera preview, and a browse-mode recenter button.
Why
This brings the demo app closer to a real navigation app and exercises more of the
maplibre-composeintegration in realistic user flows. It is split into a separate PR so the original migration PR does not grow even larger.Changes
FeatureCollectiondata instead of raw JSON stringsMapControlspadding fix for top system insetsNotes
This is primarily demo-app UX work. The only
ui-maplibrechange is the smallMapControlsinset adjustment.Screenshots