Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Layout for EXTRA_SCAN_OVERLAY_LAYOUT_ID is not handled properly #158

Open
@rexmtorres

Description

@rexmtorres

General information

  • SDK/Library version: 5.5.1
  • Android Version and Device: Motorola Moto X Play with Android 6.0.1

Issue description

I defined a layout XML (ocr_disclaimer_overlay.xml.txt) for some additional info. I specified this XML through the Intent extra, CardIOActivity.EXTRA_SCAN_OVERLAY_LAYOUT_ID. Additionally, my app is set to display in portrait mode only.

When CardIOActivity is launched while holding the device vertically (in portrait), my layout is displayed correctly as shown here: custom_overlay_ok

However, when CardIOActivity is launched while holding the phone horizontally (in landscape), my layout gets misplaced as shown here: custom_overlay_nok

What's more, after rotating the phone back from a landscape to a portrait position, the overlay layout stays hidden on the side. custom_overlay_nok2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions