mapbox / mapbox/mapbox-navigation-android-examples

JetpackComposeActivity not being orientation-aware

Ouverte
#225 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
Kotlin
Étoiles
65
Forks
56
Merge moyen
1 j 4 h
PR mergées (30 j)
2

Description

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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, kotlin
Domaine
mobile-dev
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.