mapbox / mapbox/mapbox-navigation-android
Bottom of Nav UI SDK RecenterButton gets cut off
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
### Steps to trigger behavior
1. Open the `examples` test app's `NavigationViewActivity` example.
2. Once the example activity opens, immediately move the map so that the `RecenterButton` is displayed. Wait for the subbanner (the `extraInstructionContentLayout` in`/libnavigation-ui/src/main/res/layout/instruction_view_layout.xml`) to appear.
### Expected behavior
The `RecenterButton` to remain whole as it and other various other UI components move around the screen.
### Actual behavior
The bottom of the `RecenterButton` gets cut off as other Nav UI SDK UI components move around.


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
Reproduce the issue in the examples test app's NavigationViewActivity, then inspect extraInstructionContentLayout in /libnavigation-ui/src/main/res/layout/instruction_view_layout.xml while the subbanner appears. Confirm the RecenterButton remains fully visible as the navigation UI components move; the issue is resolved when its bottom is no longer cut off.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100