Skip to content

Commit

Permalink
release 1.0.2
Browse files Browse the repository at this point in the history
fix: full selected right margin
  • Loading branch information
zeropercenthappy committed Dec 8, 2017
1 parent 13fac7e commit eb90978
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 2
versionName "1.0.1"
versionCode 3
versionName "1.0.2"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ private void initView() {
if (i == 0) {
//第一个item
imageView = createImageView(true, 0);
} else if (i == itemCountNumber - 1 && itemSelectedNumber == itemCountNumber) {
//最后一个item为已选中
imageView = createImageView(true, 2);
} else {
//中间的item
imageView = createImageView(true, 1);
Expand Down

0 comments on commit eb90978

Please sign in to comment.