mapbox / mapbox/mapbox-navigation-android-examples
JetpackComposeActivity not being orientation-aware
Nessuno ha ancora preso questa issue.
- Lingua principale
- Kotlin
- Stelle
- 65
- Fork
- 56
- Merge medio
- 1g 4h
- PR unite (30g)
- 2
Descrizione
Hi,
The JetpackComposeActivity example doesn't respond correctly to the orientation changes. For example, the Manuever View and Camera zoom and puck position don't get updated accordingly when the device orientation is changing from portrait to landscape.
In landscape mode the Maneuver View should be filling up just half of the screen and the camera zoom level should be the same in any orientation mode and the puck position should be centered to the right pane of the screen when the navigation is activated.
I could't find any guidance for handling orientation changes on the documentation page.
### Portrait
### Landscape
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Start with the JetpackComposeActivity example and reproduce the transition between portrait and landscape. Done means the Maneuver View fills half the screen in landscape, camera zoom stays consistent across orientations, and the puck is centered in the right pane when navigation is active.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, kotlin
- Ambito
- mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100