Skip to content

Layout changes triggered by soft keyboard on android hide the IndoorMapView #10

@malcolm-brown

Description

@malcolm-brown

Description

Unless the windowSoftInputMode activity attribute is set to adjustNothing, bringing up the soft keyboard on an android device while the Indoor Map UI is visible (floor slider, floor name, exit button etc) will cause it to disappear off screen.

Steps to Reproduce

  1. Load the Android API Samples project in Android Studio, apply keys etc.
  2. Modify the ui_indoor_example_activity.xml layout to include an EditText element.
  3. Run the "Animate Indoor Maps with a Slider" example - you should see your EditText element.
  4. Enter the indoor map and see the slider appear.
  5. Tap the EditText to bring up the soft keyboard.
  6. The Floor Slider, Exit Button and Floor Name panel should have disappeared.

Expected behavior:
Regardless of windowSoftInputMode, the IndoorMapView content should either remain or return when the keyboard is dismissed.

Additional Information

As mentioned, this can be worked around by setting windowSoftInputMode to adjustNothing.

This is tracked internally as MPLY-10711

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions