본문 바로가기

Dot Progress Bar For Android

mobile/android by 낼스 2020. 8. 10.
#### Dot Progress Bar - [Github](https://android-arsenal.com/details/1/3340) #### Gradle ``` compile 'com.github.silvestrpredko:dot-progress-bar:1.1' ``` #### XML ```xml ``` #### Code ``` dotProgressBar.setStartColor(startColor); dotProgressBar.setEndColor(endColor); dotProgressBar.setDotAmount(amount); dotProgressBar.setAnimationTime(time); // or you can use builder new DotProgressBarBuilder(this) .setDotAmount(5) .setStartColor(Color.BLACK) .setAnimationDirection(DotProgressBar.LEFT_DIRECTION) .build(); ```

댓글