Skip to content
This repository was archived by the owner on Aug 22, 2020. It is now read-only.

Set item values and styles

燒餅 edited this page Aug 13, 2017 · 2 revisions

Item values

If you use StepperItemView directly, your should set index, isLastItem, title and summary (Optional) in XML/Java manually.

XML Attrs

  • 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 set selected for the first item.

Java setters

See Javadoc

Item styles

You can customize your item view for custom normal/activated point color and done icon.

XML Attrs

  • 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)

Java setters

See Javadoc

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy