Skip to content

StepProgressBar is progressBar for easy display steps

Notifications You must be signed in to change notification settings

ozanlimited/StepProgressBar

 
 

Repository files navigation

What is StepProgressBar?

  • StepProgressBar is progressBar for easy display steps
  • You can display your step progressbar
  • For example, You can show customer's current trade step.



Demo

Setup

Gradle

Maven Central

dependencies {
    implementation 'kr.co.prnd:stepprogressbar:x.x.x'
    //implementation 'kr.co.prnd:stepprogressbar:1.0.0-alpha1'    
}

If you think this library is useful, please press star button at upside.


How to use

 <com.ozan.progress.StepProgressBar
        android:layout_width="match_parent"
        android:layout_height="8dp"
        android:layout_marginTop="24dp"
        app:max="10"
        app:step="6"
        app:stepDoneDrawable="@drawable/done"
        app:stepMargin="8dp"
        app:stepUndoneDrawable="#@drawable/undone" />

Customize

You can change your StepProgressBar attribute programmatically

  • setMax()
  • setStep()
  • setStepDoneDrawable()
  • setStepUndoneDrawable()
  • setStepMargin()

License

Copyright 2019 PRNDcompany

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

StepProgressBar is progressBar for easy display steps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%