发布v2.0.2

This commit is contained in:
Jenly
2021-01-14 17:56:11 +08:00
parent 2c1938a69d
commit e484484fa3
5 changed files with 14 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
![Image](app/src/main/ic_launcher-web.png)
[![Download](https://img.shields.io/badge/download-App-blue.svg)](https://raw.githubusercontent.com/jenly1314/ZXingLite/master/app/release/app-release.apk)
[![JCenter](https://img.shields.io/badge/JCenter-2.0.1-46C018.svg)](https://bintray.com/beta/#/jenly/maven/zxing-lite)
[![JCenter](https://img.shields.io/badge/JCenter-2.0.2-46C018.svg)](https://bintray.com/beta/#/jenly/maven/zxing-lite)
[![JitPack](https://jitpack.io/v/jenly1314/ZXingLite.svg)](https://jitpack.io/#jenly1314/ZXingLite)
[![CI](https://travis-ci.org/jenly1314/ZXingLite.svg?branch=master)](https://travis-ci.org/jenly1314/ZXingLite)
[![CircleCI](https://circleci.com/gh/jenly1314/ZXingLite.svg?style=svg)](https://circleci.com/gh/jenly1314/ZXingLite)
@@ -31,6 +31,7 @@ ZXingLite for Android 是ZXing的精简版基于ZXing库优化扫码和生成
| labelTextColor | color |<font color=#C0C0C0>#FFC0C0C0</font>| 提示文本字体颜色 |
| labelTextSize | dimension |14sp| 提示文本字体大小 |
| labelTextPadding | dimension |24dp| 提示文本距离扫描区的间距 |
| labelTextWidth | dimension | | 提示文本的宽度默认为View的宽度 |
| labelTextLocation | enum |bottom| 提示文本显示位置 |
| frameWidth | dimension | | 扫码框宽度 |
| frameHeight | dimension | | 扫码框高度 |
@@ -58,7 +59,7 @@ ZXingLite for Android 是ZXing的精简版基于ZXing库优化扫码和生成
最新版本
```gradle
//AndroidX 版本
implementation 'com.king.zxing:zxing-lite:2.0.1'
implementation 'com.king.zxing:zxing-lite:2.0.2'
```
@@ -239,6 +240,9 @@ compileOptions {
## 版本记录
#### v2.0.22021-1-14
* **ViewfinderView** 新增 **labelTextWidth** 属性
#### v2.0.12020-12-30
* 更新CameraX至v1.0.0-rc01
* 新增支持点击预览区域对焦目标