Skip to content

Commit 5cffbfe

Browse files
Piotr Zawadzkizawadz88
Piotr Zawadzki
authored andcommitted
* Upgraded version to 3.2.2
* Updated readme as discussed in #107
1 parent e3be95d commit 5cffbfe

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Moreover, you can find there other examples, e.g. how to persist state on rotati
5656

5757
### Download (from JCenter)
5858
```groovy
59-
compile 'com.stepstone.stepper:material-stepper:3.2.1'
59+
compile 'com.stepstone.stepper:material-stepper:3.2.2'
6060
```
6161

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

291+
NOTE: To change Complete button's label you need use `ms_completeButtonText` attribute from StepperLayout.
292+
291293
### Custom styling
292294
Basic styling can be done by choosing the active and inactive step colors.
293295
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))

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
POM_GROUP_ID=com.stepstone.stepper
2121
POM_ARTIFACT_ID=material-stepper
22-
POM_VERSION=3.2.1
22+
POM_VERSION=3.2.2

material-stepper/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ android {
5252
}
5353
}
5454
}
55+
56+
lintOptions {
57+
warningsAsErrors true
58+
}
5559
}
5660

5761
dependencies {

sample/src/main/res/layout/item_sample_info.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515

1616
<TextView
1717
android:id="@+id/item_sample_title"
18-
android:layout_width="match_parent"
18+
android:layout_width="wrap_content"
1919
android:layout_height="wrap_content"
2020
android:textColor="@color/ms_black_87_opacity"
2121
android:textSize="16sp"
2222
tools:text="Sample title" />
2323

2424
<TextView
2525
android:id="@+id/item_sample_subtitle"
26-
android:layout_width="match_parent"
26+
android:layout_width="wrap_content"
2727
android:layout_height="wrap_content"
2828
android:textColor="@color/black_54_opacity"
2929
android:textSize="14sp"

0 commit comments

Comments
 (0)