1、支持真实识别区域比例和识别区域偏移量可配置

2、对外暴露更多可配置参数
This commit is contained in:
jenly1314
2019-09-24 11:49:13 +08:00
parent db340b3f4d
commit 004bd683a1
10 changed files with 269 additions and 91 deletions

View File

@@ -23,6 +23,14 @@
<enum name="line" value="1"/>
<enum name="grid" value="2"/>
</attr>
<attr name="cornerRectWidth" format="dimension"/>
<attr name="cornerRectHeight" format="dimension"/>
<attr name="scannerLineMoveDistance" format="dimension"/>
<attr name="scannerLineHeight" format="dimension"/>
<attr name="frameLineWidth" format="dimension"/>
<attr name="scannerAnimationDelay" format="integer"/>
<attr name="frameRatio" format="float"/>
</declare-styleable>
</resources>