Skip to content

Commit

Permalink
update version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinliu committed Dec 27, 2016
1 parent 0723844 commit f3d2c24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ float realPixel = (mScreenWidth * designDensity * getPixelSize()) / (designScree

```
dependencies {
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.2'
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.3'
}
```

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ float realPixel = (mScreenWidth * designDensity * getPixelSize()) / (designScree

```
dependencies {
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.2'
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.3'
}
```

Expand Down
2 changes: 1 addition & 1 deletion Sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {

dependencies {
// compile project(':ScaleLayout')
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.2'
compile 'cn.gavinliu.android.lib:ScaleLayout:1.0.3'

compile 'com.android.support:appcompat-v7:24.2.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class MainApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
ScaleConfig.create(this, 1080, 1920, 3, ScaleConfig.DIMENS_UNIT_DP);
ScaleConfig.create(this, 1080, 1920, 3f, ScaleConfig.DIMENS_UNIT_DP);
ScaleConfig.getInstance().setDebug(true);
}
}
2 changes: 1 addition & 1 deletion Sample/src/main/res/layout/activity_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</cn.gavinliu.android.lib.scale.ScaleLinearLayout>

<cn.gavinliu.android.lib.scale.ScaleFrameLayout
android:layout_width="300dp"
android:layout_width="360dp"
android:layout_height="300dp"
android:layout_below="@id/view"
android:layout_marginTop="8dp"
Expand Down

0 comments on commit f3d2c24

Please sign in to comment.