Skip to content

Commit f3d2c24

Browse files
committed
update version 1.0.3
1 parent 0723844 commit f3d2c24

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ float realPixel = (mScreenWidth * designDensity * getPixelSize()) / (designScree
5858

5959
```
6060
dependencies {
61-
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.2'
61+
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.3'
6262
}
6363
```
6464

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ float realPixel = (mScreenWidth * designDensity * getPixelSize()) / (designScree
5858

5959
```
6060
dependencies {
61-
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.2'
61+
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.3'
6262
}
6363
```
6464

Sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android {
2121

2222
dependencies {
2323
// compile project(':ScaleLayout')
24-
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.2'
24+
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.3'
2525

2626
compile 'com.android.support:appcompat-v7:24.2.0'
2727
}

Sample/src/main/java/cn/gavinliu/android_scalelayout/MainApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class MainApplication extends Application {
1313
@Override
1414
public void onCreate() {
1515
super.onCreate();
16-
ScaleConfig.create(this, 1080, 1920, 3, ScaleConfig.DIMENS_UNIT_DP);
16+
ScaleConfig.create(this, 1080, 1920, 3f, ScaleConfig.DIMENS_UNIT_DP);
1717
ScaleConfig.getInstance().setDebug(true);
1818
}
1919
}

Sample/src/main/res/layout/activity_demo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</cn.gavinliu.android.lib.scale.ScaleLinearLayout>
3939

4040
<cn.gavinliu.android.lib.scale.ScaleFrameLayout
41-
android:layout_width="300dp"
41+
android:layout_width="360dp"
4242
android:layout_height="300dp"
4343
android:layout_below="@id/view"
4444
android:layout_marginTop="8dp"

0 commit comments

Comments
 (0)