-1

How can I create a step view like this?

Wizard Progress Step view

Is it possible to create this using only one drawable and filling that drawable for a certain amount? Where each amount represents a step. So in step 4/5, it's filled for 80%.

I want to use it in my Slider Activity which I created using this tutorial: https://developer.android.com/training/animation/screen-slide

If anyone could give advice on this, that would be great. Thanks

AskNilesh
  • 67,701
  • 16
  • 123
  • 163
Peter van Leeuwen
  • 938
  • 1
  • 9
  • 17

1 Answers1

2

There are a lot of ways to implement step view using ProgressBar. Check the following link then implement your own.

VerticalStepperForm

StateProgressBar

Papan
  • 382
  • 1
  • 10
  • I have also googled and I have seen those. But they are not according to the design, which you can find in my question. – Peter van Leeuwen Dec 17 '18 at 12:03
  • These are just for example. You can achieve the above StepView using ProgressBar. You can set custom drawable background and set progress on the ProgressBar. – Papan Dec 17 '18 at 12:40
  • you can check this example also. https://www.journaldev.com/9629/android-progressbar-example – Papan Dec 17 '18 at 12:43
  • Great! I first used seekbar, but that is not needed. A basic progressbar is just fine. Thanks for helping me. – Peter van Leeuwen Dec 17 '18 at 13:55