Skip to content

CameraSourcePreview / GraphicsOverlay right padding #4

Closed
@Aeefire

Description

@Aeefire

Hello folks,

I've been testing the library on a OnePlus One (1080x1920).

However, my camera preview (or more specifically the GraphicOverlay) gets a padding on the right (or below, it kinda seems to depend on how i set the requested preview size).

According to the View Hierarchy Dump, the CameraSourcePreview has the correct size (1080x1920), but the GraphicOverlay has its width somehow reduced to 1037 instead of the correct 1080.

The requested preview size is : (1024, 768)

Anyone noticed something similiar? Sadly I can't test it on a device with a different resolution atm.

Any solution to this or known fix? Thanks in advance

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