Skip to content

Commit

Permalink
* Upgraded version to 3.2.2
Browse files Browse the repository at this point in the history
* Updated readme as discussed in #107
  • Loading branch information
Piotr Zawadzki authored and zawadz88 committed May 18, 2017
1 parent e3be95d commit 5cffbfe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Moreover, you can find there other examples, e.g. how to persist state on rotati

### Download (from JCenter)
```groovy
compile 'com.stepstone.stepper:material-stepper:3.2.1'
compile 'com.stepstone.stepper:material-stepper:3.2.2'
```

### Create layout in XML
Expand Down Expand Up @@ -288,6 +288,8 @@ In such case you need to override the `getViewModel(int)` method from the `StepA
}
```

NOTE: To change Complete button's label you need use `ms_completeButtonText` attribute from StepperLayout.

### Custom styling
Basic styling can be done by choosing the active and inactive step colors.
There are some additional properties which can be changed directly from StepperLayout's attributes e.g. the background of bottom navigation buttons (see [StepperLayout attributes](#stepperlayout-attributes))
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

POM_GROUP_ID=com.stepstone.stepper
POM_ARTIFACT_ID=material-stepper
POM_VERSION=3.2.1
POM_VERSION=3.2.2
4 changes: 4 additions & 0 deletions material-stepper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ android {
}
}
}

lintOptions {
warningsAsErrors true
}
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions sample/src/main/res/layout/item_sample_info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

<TextView
android:id="@+id/item_sample_title"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/ms_black_87_opacity"
android:textSize="16sp"
tools:text="Sample title" />

<TextView
android:id="@+id/item_sample_subtitle"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black_54_opacity"
android:textSize="14sp"
Expand Down

0 comments on commit 5cffbfe

Please sign in to comment.