Skip to content

Barcode Reader - SurfaceView Fullscreen #51

@davidtcdeveloper

Description

@davidtcdeveloper

Hi,

I am using the barcode-reader as a sample for barcode reading with the Mobile Vision.
The problem is that in many devices, due to camera specs, the preview is not large enough to fill the hole screen, as in the screen below.
Is there anyway to make it full screen (match_parent)?
I tried to set layout parameters to the surfaceview in the CameraSourcePreview class, but it didn't work.
Do you have any other suggestion?

device-2015-12-18-163218

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