19

I want to implement horizontal progress bar with steps like shown in following img.

Horizontal Step Progress bar

I could not find such native component in Android. Can anyone guide me on how to do it ?

Hash
  • 4,647
  • 5
  • 21
  • 39
Rohit
  • 2,538
  • 6
  • 28
  • 41
  • 2
    You need to implement custom view extends ProgressBar – Georgy Gobozov Jan 29 '13 at 11:19
  • hm.. is tht the only way ? and if yes.. any links that may be useful ? – Rohit Jan 29 '13 at 11:34
  • 1
    take a look how to create custom views http://developer.android.com/training/custom-views/index.html aslo lookt at progress bar source code http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/widget/ProgressBar.java?av=f and simple custom progress bar with text http://weavora.com/blog/2012/02/23/android-progressbar-with-text/ – Georgy Gobozov Jan 29 '13 at 11:50
  • 2
    use a range bar. look at this link https://github.com/oli107/material-range-bar or https://github.com/yahoo/android-range-seek-bar – Mahalakshmi Jan 11 '16 at 05:48

3 Answers3

12

I found a Vertical Steper that follows Google Material Design guidelines:

enter image description here

And also another well documented library Here

enter image description here

I hope it helps.

Milad Faridnia
  • 9,113
  • 13
  • 65
  • 78
8

EDIT: A repo which seems to currently be well supported and used (Sep 2016) https://github.com/baoyachi/StepView

StepView

Old Answer:

This answer is late to the party, but so far the best I've found is this repo from Anton46: https://github.com/anton46/Android-StepsView It's quite simple to setup too.

Heres an example:

enter image description here

Alan
  • 1,510
  • 1
  • 18
  • 35
2

I've created a Step View ViewPager that supports both Horizontal and Vertical paging and doesn't require drawables and images. You can configure the appearance by simply specifying various attributes.

It can be found here https://github.com/YablokovDmitry/StepViewPager

Sample 1

Sample 2

Sample 3

Dmitry Yablokov
  • 166
  • 1
  • 3