简体   繁体   English

如何让 ZXing 在 android 的部分活动(非全屏)中显示?

[英]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 ).我使用ZXing进行条码扫描,但它将扫描仪显示为全屏(图 1 ),但我想将扫描仪显示为我的活动的一部分(图 2 )。

Picture 1图片1

在此处输入图片说明

Picture 2图2

在此处输入图片说明

Use ContinuousCaptureActivity to achieve what you are looking for.使用ContinuousCaptureActivity来实现您的目标。

Happy Coding :)快乐编码:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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