Skip to content
This repository was archived by the owner on Aug 22, 2020. It is now read-only.

Commit 9128947

Browse files
committed
Update library & Fixed last step icon will be cropped incorrectly
Signed-off-by: Fung Gwo <fython@163.com>
1 parent 3cda6c1 commit 9128947

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
jcenter()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:3.0.0'
6+
classpath 'com.android.tools.build:gradle:3.0.1'
77
}
88
}
99

@@ -20,10 +20,10 @@ task clean(type: Delete) {
2020
}
2121

2222
ext {
23-
supportLibraryVersion = '27.0.0'
23+
supportLibraryVersion = '27.1.0'
2424
minSdkVersion = 17
25-
targetSdkVersion = 26
26-
buildToolsVersion = "26.0.2"
27-
versionCode = 5
28-
versionName = '0.2.3'
25+
targetSdkVersion = 27
26+
buildToolsVersion = "27.0.2"
27+
versionCode = 6
28+
versionName = '0.2.4'
2929
}

library/src/main/java/moe/feng/common/stepperview/VerticalStepperItemView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void onGlobalLayout() {
170170
}
171171

172172
private void updateMarginBottom() {
173-
mMarginBottomView.getLayoutParams().height = (!isLastStep ? (mState != STATE_SELECTED ? 28 : 36) : 0) * DP;
173+
mMarginBottomView.getLayoutParams().height = (!isLastStep ? (mState != STATE_SELECTED ? 28 : 36) : 12) * DP;
174174
}
175175

176176
/**

0 commit comments

Comments
 (0)