mapbox / mapbox/mapbox-navigation-android-examples
JetpackComposeActivity not being orientation-aware
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Kotlin
- Estrellas
- 65
- Forks
- 56
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 2
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, kotlin
- Área
- mobile-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100