Search code examples
javaandroidandroid-studiozxingbarcode-scanner

How to make ZXing shown in part of activity (not full screen) in android?


I am using ZXing for barcode scanning, but it show the scanner as a full screen (picture 1), but I want to show the scanner as part of my activity (picture 2).

Picture 1

enter image description here

Picture 2

enter image description here


Solution

  • Use ContinuousCaptureActivity to achieve what you are looking for.

    Happy Coding :)