diff --git a/README.md b/README.md index 1a2b104..de0dccd 100644 --- a/README.md +++ b/README.md @@ -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 |#FFC0C0C0| 提示文本字体颜色 | | 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.2:2021-1-14 +* **ViewfinderView** 新增 **labelTextWidth** 属性 + #### v2.0.1:2020-12-30 * 更新CameraX至v1.0.0-rc01 * 新增支持点击预览区域对焦目标 diff --git a/app/release/app-release.apk b/app/release/app-release.apk index f2e1afc..fecd0e4 100644 Binary files a/app/release/app-release.apk and b/app/release/app-release.apk differ diff --git a/app/release/output.json b/app/release/output.json index 9b59f61..a385252 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":28,"versionName":"2.0.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":29,"versionName":"2.0.2","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/update_log.md b/update_log.md index 2e422e8..2b3fb95 100644 --- a/update_log.md +++ b/update_log.md @@ -1,5 +1,8 @@ ## 版本记录 +#### v2.0.2:2021-1-14 +* **ViewfinderView** 新增 **labelTextWidth** 属性 + #### v2.0.1:2020-12-30 * 更新CameraX至v1.0.0-rc01 * 新增支持点击预览区域对焦目标 @@ -25,7 +28,7 @@ #### v1.1.6:2019-12-27 * 生成条形码/二维码时支持自定义配置颜色 -* 支持识别反色码(增强识别率,默认不支持,需通过CaptureHelper.supportLuminanceInvert(true)开启) +* 支持识别反色码(增强识别率,默认不支持,需通过 **CaptureHelper.supportLuminanceInvert(true)** 开启) #### v1.1.5:2019-12-16 * 优化Camera初始化相关策略,减少出现卡顿的可能性 @@ -44,7 +47,7 @@ #### v1.1.1:2019-5-20 * 支持扫二维码过小时,自动缩放 -* 支持识别垂直条形码(增强条形码识别,默认不支持,需通过CaptureHelper.supportVerticalCode(true)开启) +* 支持识别垂直条形码(增强条形码识别,默认不支持,需通过 **CaptureHelper.supportVerticalCode(true)** 开启) #### v1.1.0:2019-4-19 * 将扫码相关逻辑与界面分离,ZXingLite使用更容易扩展 diff --git a/versions.gradle b/versions.gradle index 52ca8b2..8240b3d 100644 --- a/versions.gradle +++ b/versions.gradle @@ -1,7 +1,7 @@ //App def app_version = [:] -app_version.versionCode = 28 -app_version.versionName = "2.0.1" +app_version.versionCode = 29 +app_version.versionName = "2.0.2" ext.app_version = app_version //build version