This repository has been archived by the owner on Aug 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 260
Set item values and styles
燒餅 edited this page Aug 13, 2017
·
2 revisions
If you use StepperItemView directly, your should set index, isLastItem, title and summary (Optional) in XML/Java manually.
- step_index: The number showed in point
-
step_is_last: If item is the last one. When value is
true
, the line will be hidden. (Default:false
) - step_title: Step title
- step_summary: Step summary (Optional)
-
step_state: Step state (Default:
normal
), you should setselected
for the first item.
See Javadoc
You can customize your item view for custom normal/activated point color and done icon.
- step_normal_color: Normal point color (Default: Grey 500)
- step_activated_color: Activated point color (Default: Blue 500)
-
step_done_icon: Done icon drawable (Default:
ic_done_white_16dp
, its size should be 16dp*16dp) -
step_animation_duration: Animation duration (Default:
android.R.integer.config_shortAnimTime
) -
step_enabled_animation: Animation enabled (Default:
true
) - step_line_color: Line color (Default: Grey 500)
- step_error_highlight_color: Error Highlight color (Default: Red 500)
See Javadoc