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
Description
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:
However, when CardIOActivity is launched while holding the phone horizontally (in landscape), my layout gets misplaced as shown here:
What's more, after rotating the phone back from a landscape to a portrait position, the overlay layout stays hidden on the side.
Metadata
Metadata
Assignees
Labels
No labels