mapbox / mapbox/mapbox-navigation-android-examples

JetpackComposeActivity not being orientation-aware

Abierto
#225 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

Image

### Landscape

Image

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.