File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ allprojects {
32
32
2-add it as a dependency to your app ` build.gradle `
33
33
``` java
34
34
dependencies {
35
- compile ' com.github.BaselHorany:ProgressStatusBar:1.1.1 '
35
+ compile ' com.github.BaselHorany:ProgressStatusBar:1.1.2 '
36
36
}
37
37
```
38
38
3-add SYSTEM_ALERT_WINDOW permission
@@ -66,10 +66,11 @@ public class MainActivity extends AppCompatActivity {
66
66
mProgressStatusBar. shwoToast(" 1 new message" , 3000 ); // (Sting message, int duratoion)
67
67
68
68
/* Addidional*/
69
- // options
69
+ // options, anytime before you start a new progress
70
70
mProgressStatusBar. setProgressColor(COLOR );// default #40212121
71
71
mProgressStatusBar. setProgressBackgroundColor(COLOR );// default transparent or colorPrimaryDark
72
72
mProgressStatusBar. setBallsColor(COLOR );// default #ffffff
73
+ mProgressStatusBar. setTextColor(COLOR );// default #ffffff
73
74
74
75
// Listener
75
76
mProgressStatusBar. setProgressListener(new ProgressStatusBar .OnProgressListener () {
You can’t perform that action at this time.
0 commit comments