Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is possible border put in the Barcode corners? #580

Closed
halilozel1903 opened this issue Nov 12, 2020 · 10 comments
Closed

Is possible border put in the Barcode corners? #580

halilozel1903 opened this issue Nov 12, 2020 · 10 comments

Comments

@halilozel1903
Copy link

Hello,

I want to put border in the Barcode corners.

Like this one.

IMG-20201106-WA0000

@phannaly
Copy link

Maybe you can override onDraw() in ViewfinderView but for the easy way, you can just create your custom layout. Align your qrcode frame image to fit the scanning area. Let check the example in custom_barcode_scanner.xml

@halilozel1903
Copy link
Author

Yeah. Is there no example about it?

@phannaly
Copy link

Oh now someone makes pull request for it. #558

@niharika2810
Copy link

@phannaly I hope they can merge it now. Otherwise, you can use it for your own purpose :-)

@phannaly
Copy link

Okay thank you for that pull request. I'll check it.

@halilozel1903
Copy link
Author

Oh now someone makes pull request for it. #558

Thanks.

@halilozel1903
Copy link
Author

@phannaly How you doin’ I cloned your app but I want to use like this picture. how I do?

@phannaly
Copy link

@halilozel1903 Just add QR code frame image.

Screen Shot 2020-11-17 at 1 16 59 PM

@halilozel1903
Copy link
Author

halilozel1903 commented Nov 20, 2020

Finally. I'm done🥇 Thanks man 👍 @phannaly

image

@phannaly
Copy link

Just add one more view for qr code frame. Check the pic above again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants