mapbox / mapbox/mapbox-navigation-android-examples
MapboxManeuverView width is fixed in landscape mode
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 65
- Forks
- 56
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 2
Description
I'm not able to change MapboxManeuverView component width in landscape mode.
it works in portrait mode but not working on landscape mode.
Portrait layout :
`
`
Landscape code :
`
`
Navigation SDK: "com.mapbox.navigation:android:2.9.4"
Screenshots :
Landscape:

Portraite :

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the portrait and landscape ConstraintLayout definitions shown in the issue, especially the MapboxManeuverView and content_box_frame_container constraints. Verify how the landscape layout determines the maneuver view width, then confirm that changing the container width also changes the maneuver view as expected in both orientations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100