diff --git a/README-zh.md b/README-zh.md index 2cf3cdb..50d218c 100644 --- a/README-zh.md +++ b/README-zh.md @@ -2,7 +2,7 @@
-
+
@@ -76,7 +76,7 @@
## Download
``` gradle
- implementation 'me.jessyan:autosize:1.1.1'
+ implementation 'me.jessyan:autosize:1.1.2'
```
## Usage
diff --git a/README.md b/README.md
index 45ca10a..1393aff 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-
+
@@ -80,7 +80,7 @@
## Download
``` gradle
- implementation 'me.jessyan:autosize:1.1.1'
+ implementation 'me.jessyan:autosize:1.1.2'
```
## Usage
diff --git a/build.gradle b/build.gradle
index 31ffbab..74d0c0c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -29,7 +29,7 @@ ext {
targetSdkVersion = 28
compileSdkVersion = 28
buildToolsVersion = "28.0.3"
- versionCode = 33
- versionName = "1.1.1"
+ versionCode = 34
+ versionName = "1.1.2"
appcompat_v7 = "com.android.support:appcompat-v7:28.0.0"
}
\ No newline at end of file
diff --git a/demo-subunits/build.gradle b/demo-subunits/build.gradle
index 942709a..2950fda 100644
--- a/demo-subunits/build.gradle
+++ b/demo-subunits/build.gradle
@@ -21,7 +21,7 @@ android {
}
dependencies {
-// implementation 'me.jessyan:autosize:1.1.1'
+// implementation 'me.jessyan:autosize:1.1.2'
implementation project(':autosize')
implementation rootProject.appcompat_v7
testImplementation 'junit:junit:4.12'
diff --git a/demo/build.gradle b/demo/build.gradle
index 9b9813f..069cb38 100644
--- a/demo/build.gradle
+++ b/demo/build.gradle
@@ -21,7 +21,7 @@ android {
}
dependencies {
-// implementation 'me.jessyan:autosize:1.1.1'
+// implementation 'me.jessyan:autosize:1.1.2'
implementation project(':autosize')
implementation rootProject.appcompat_v7
implementation 'cat.ereza:customactivityoncrash:2.2.0'
diff --git a/demo/src/main/java/me/jessyan/autosize/demo/CustomAdaptActivity.java b/demo/src/main/java/me/jessyan/autosize/demo/CustomAdaptActivity.java
index ad19dfa..0fffff4 100644
--- a/demo/src/main/java/me/jessyan/autosize/demo/CustomAdaptActivity.java
+++ b/demo/src/main/java/me/jessyan/autosize/demo/CustomAdaptActivity.java
@@ -54,6 +54,7 @@ protected void onCreate(Bundle savedInstanceState) {
public void goCustomAdaptFragment(View view) {
startActivity(new Intent(getApplicationContext(), FragmentHost.class));
}
+
/**
* 是否按照宽度进行等比例适配 (为了保证在高宽比不同的屏幕上也能正常适配, 所以只能在宽度和高度之中选择一个作为基准进行适配)
*