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
@@ -313,6 +313,12 @@ It is possible to use this library without the need to rely on Fragments.
313
313
To do so you need to use ```AbstractStepAdapter``` instead of ```AbstractFragmentStepAdapter```.
314
314
For an example of how to use it with views please see the sample app.
315
315
316
+
### Custom styling
317
+
Basic styling can be done by choosing the active and inactive step colors.
318
+
There are some additional properties which can be changed directly from StepperLayout's attributes e.g. the background of bottom navigation buttons (see <ahref="#stepperlayout-attributes">StepperLayout attributes</a>)
319
+
For advanced styling you can use `ms_stepperLayoutTheme` StepperLayout's attribute and provide your custom style to be used.
320
+
See 'Custom StepperLayout theme - progress bar' and 'Custom StepperLayout theme - Tabs dark' in the sample app for an example.
321
+
316
322
### Advanced usage
317
323
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.
318
324
@@ -334,8 +340,30 @@ For other examples, e.g. persisting state on rotation, displaying errors, changi
334
340
|*ms_completeButtonText*| string or reference | COMPLETE button's text |
335
341
|*ms_tabStepDividerWidth*| dimension or reference | The width of the horizontal tab divider used in tabs stepper type |
336
342
|*ms_showBackButtonOnFirstStep*| boolean | Flag indicating if the Back (Previous step) button should be shown on the first step. False by default. |
343
+
|*ms_errorColor*| color or reference | Error color in Tabs stepper |
337
344
|*ms_showErrorState*| boolean | Flag indicating whether to show the error state. Only available with 'tabs' type. False by default. |
338
345
|*ms_showErrorStateOnBack*| boolean | Flag indicating whether to keep showing the error state when user moves back. Only available with 'tabs' type. False by default. |
346
+
|*ms_stepperLayoutTheme*| reference | Theme to use for even more custom styling of the stepper layout. It is recommended that it should extend @style/MSDefaultStepperLayoutTheme, which is the default theme used. |
347
+
348
+
### StepperLayout style attributes
349
+
A list of `ms_stepperLayoutTheme` attributes responsible for styling of StepperLayout's child views.
0 commit comments