简体   繁体   中英

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

在此处输入图片说明

Picture 2

在此处输入图片说明

Use ContinuousCaptureActivity to achieve what you are looking for.

Happy Coding :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM