Comments (4)
框外的遮罩,可直接通过布局配置,示例如下:
<com.king.zxing.ViewfinderView
android:id="@+id/viewfinderView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:maskColor="@color/viewfinder_mask"/>
可参考:布局示例
框内遮罩是什么意思,不太理解你的意图。页面布局全部遮罩(布局遮一层)或者全部不遮罩(maskColor设置为透明)?
from zxinglite.
from zxinglite.
在前面的一次回复中,我好像已经给出了相应的解决方案。(maskColor设置为透明,然后布局遮一层。)
from zxinglite.
还有个问题我想请教下 就是扫描线我们的 会超过扫描框 我看咱们的是在框画的 这个有方法改变么 感谢回答
from zxinglite.
Related Issues (20)
- 从相册选择食品条形码图片,无法识别 HOT 3
- 生成条形码两边空白 HOT 1
- 小米9 SE手机上,进入扫描二维码页面时无响应。 HOT 6
- 前置预览颠倒, 怎么调整 HOT 3
- camerax预览出现慢 HOT 3
- 希伯来语下,如果设置了vvLabelText,他的布局会有异常 HOT 6
- 扫描框vvFrameRatio="1.0"的时候,vvLaserDrawable的大小还是被限制在默认框里,自定义扫描图片是不是也可以随着框的大小自动展示大小 HOT 1
- 继承的类里面拿不到上下文 HOT 1
- 升级到2.2.1以后,oppo手机扫码无反应 HOT 5
- 扫相册图片崩溃 HOT 2
- 如何切换摄像头呢?我想使用指定的摄像头该如何设置 HOT 1
- 隐私政策合规问题 HOT 2
- 荣耀手机扫码失败 HOT 6
- 微信二维码如果是白色样式,扫码识别不了 HOT 1
- 无法识别 DATA_MATRIX 格式的二维码 HOT 1
- 无法设置仅识别条形码 HOT 2
- 这个二维码扫描无反应,麻烦帮看看呢 HOT 1
- 引用库拉不下来 HOT 3
- 3.0.1版本,偶现息屏后打开,黑屏,无法恢复 HOT 1
- 这个库是我个人感觉最好用的
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zxinglite.