You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dependencies update & adding a common style through activity theme (#10)
* - updated the build tools, compile & target versions
- updated Android Support Library
- added an option to use a common style for all stepper through a theme
* - updated library version to 1.0.1
- color customisation of individual widgets inside of the stepper via View attributes
28
-
- custom texts of individual widgets inside of the stepper via View attributes
27
+
- color customisation of individual widgets inside of the stepper via View attributes or a style from a theme
28
+
- custom texts of individual widgets inside of the stepper via View attributes or a style from a theme
29
29
- embedding the stepper anywhere in the view hierarchy and changing the stepper type for various device configurations, e.g. phone/tablet, portrait/landscape
30
30
- step validation
31
31
@@ -245,6 +245,26 @@ In such case you need to override the `getNextButtonText(int)` method in the `Ab
245
245
}
246
246
```
247
247
248
+
### Using the same stepper styling across the application
249
+
If you have many steppers in your application in different activities/fragments you might want to set a common style in a theme.
250
+
To do so, you need to set the `ms_stepperStyle` attribute in the theme, e.g.
For other examples, e.g. persisting state on rotation, displaying errors, changing whether the user can go to the next step, etc. check out the sample app.
0 commit comments