TUTORIAL WITH CODE

How to code a beautiful custom QR scanner cutout from scratch

QR codes can be utilized to achieve a lot of different things nowadays. From opening a restaurant menu to viewing product information or paying for a snack. Sometimes QR codes are scanned with the default mobile scanner on your Android smartphone, but other times there’s a need to include a QR code scanner inside your app. There are some wonderful articles on displaying camera preview and detecting QR codes; LIke this one: link.
However, chances are that you or your client/designer will want to add an overlay over the camera preview with semitransparent background and a transparent rectangular hole in the…

nDeveloper

Professional Android developer - working mainly with Kotlin

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store