StepProgressBar

Additional

Language
Kotlin
Version
1.0.1 (Jul 1, 2021)
Created
May 7, 2019
Updated
Dec 13, 2022
Owner
PRND (PRNDcompany)
Contributors
ted-prnd
benjamin-prnd
2
Activity
Badge
Generate
Download
Source code

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

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

 <kr.co.prnd.StepProgressBar
        android:layout_width="match_parent"
        android:layout_height="8dp"
        android:layout_marginTop="24dp"
        app:max="10"
        app:step="6"
        app:stepDoneColor="#ff0000"
        app:stepMargin="8dp"
        app:stepUndoneColor="#dedede" />

Customize

You can change your StepProgressBar attribute programmatically

  • setMax()
  • setStep()
  • setStepDoneColor()
  • setStepUndoneColor()
  • 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.