diff --git a/README.md b/README.md index 6b5e3e9..910d457 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,18 @@ # AwesomeQRCode -An awesome(simple) QR code generator. +An awesome(simple) QR code generator for Android. 一个优雅的(不起眼的) QR 二维码生成器 -### Get sample APK 下载演示 APK +### Awesome-qr.js written in JavaScript, 支持 JavaScript 的 Awesome-qr.js + +Redirect to [Awesome-qr.js](https://github.com/SumiMakito/Awesome-qr.js) + +### Get sample APK, 下载演示 APK Google Play Store -### Examples 样例 +### Examples, 样例 > Try to scan these QR codes below with your smart phone. @@ -16,13 +20,13 @@ Example 1|Example 2|Example 3 ------------ | ------------- | ------------- | | -### Quick start 快速上手 +### Quick start, 快速上手 ```java Bitmap qrCode = AwesomeQRCode.create("Makito loves Kafuu Chino.", 800, 20, 0.3f, Color.BLACK, Color.WHITE, backgroundBitmap, true, true); ``` -### Parameters 参数 +### Parameters, 参数 ```java public static Bitmap create( @@ -44,7 +48,7 @@ PayPal | Alipay [PayPal](https://www.paypal.me/makito) | [Alipay](https://qr.alipay.com/a6x02021re1jk4ftcymlw79) -### Copyright & License 版权信息与授权协议 +### Copyright & License, 版权信息与授权协议 Copyright © 2017 Sumi Makito diff --git a/app/build.gradle b/app/build.gradle index 38e8d9a..58e2732 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.github.sumimakito.awesomeqrsample" minSdkVersion 19 targetSdkVersion 25 - versionCode 1 - versionName "1.0" + versionCode 3 + versionName "1.2" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/app/src/main/res/drawable-nodpi/b.png b/app/src/main/res/drawable-nodpi/b.png deleted file mode 100644 index bf43be6..0000000 Binary files a/app/src/main/res/drawable-nodpi/b.png and /dev/null differ diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index d368451..04e80a5 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -29,6 +29,18 @@ android:focusableInTouchMode="true" android:orientation="horizontal" /> + + @@ -63,7 +75,7 @@ android:background="#448800" android:gravity="center" android:padding="10dp" - android:text="Awesome-qr.js is also available!\n[ CLICK HERE ]" + android:text="Awesome-qr.js is also available!\nClick here to view on GitHub" android:textColor="#fff" android:textSize="12sp" android:textStyle="bold" />