Skip to content

Commit

Permalink
release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hupei committed Jul 7, 2017
1 parent 8092ffe commit 993563a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- 本库依赖使用Gradle构建时添加一下即可:

```javascript
compile 'com.mylhyl:zxingscanner:1.3.1'
compile 'com.mylhyl:zxingscanner:1.4.0'
```

## 2、离线jar,需要手动添加 Zxing 核心库
Expand Down Expand Up @@ -189,6 +189,12 @@ Bitmap bitmap = new QREncode.Builder(this)
<td> text -> 内容 <br>textSize -> 文字大小 <br>textColor -> 文字颜色 <br>isBottom -> 是否在扫描框下方 <br> textMargin -> 离扫描框间距</td>
<td>text -> 将二维码放入框内,即可自动扫描 <br>textSize -> 16sp <br>textColor -> 白色 <br>isBottom -> true <br> textMargin -> 20dp</td>
</tr>
<tr>
<td>setScanMode</td>
<td>设置扫描类型</td>
<td>二维码、一维码</td>
</tr>
<tr>
</table>

### 七、注意事项
Expand All @@ -200,6 +206,8 @@ QQ交流群:630413339 [点击链接加入群Android-Zxing](https://jq.qq.com/?

### 八、版本更新

> 1.4.0 增加扫描类型`setScanMode`
> 1.3.1 优化代码
> 1.3.0 生成二维码增加logo
Expand Down
4 changes: 2 additions & 2 deletions zxingscanner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
versionCode 20170620
versionCode 20170707
versionName version
}
buildTypes {
Expand All @@ -33,7 +33,7 @@ publish {
userOrg = 'mylhyl'
groupId = 'com.mylhyl'
artifactId = 'zxingscanner'
version = '1.3.1'
version = '1.4.0'
description = 'android zxing style'
website = "https://github.com/mylhyl/Android-Zxing"
}
Expand Down

0 comments on commit 993563a

Please sign in to comment.