File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[ ![ ] ( https://jitpack.io/v/BaselHorany/ProgressStatusBar.svg )] ( https://jitpack.io/#BaselHorany/ProgressStatusBar )
22
33
4- # now in v1.1.5 Oreo and above are supported
4+ # now in v1.1.6 Oreo and above are supported
55
66# ProgressStatusBar
77Another way to show progress. A progress View over the system StatusBar.
@@ -19,6 +19,12 @@ The first form is suitable for showing that the activity is being loaded like fe
1919 <img src =" https://github.com/BaselHorany/ProgressStatusBar/blob/master/showtoast.png?raw=true " width =" 360 " />
2020</p >
2121
22+ That was for android pre-oreo
23+ on oreo and above statusbar will remain visible for all options like this:
24+ <p align =" center " >
25+ <img src =" https://github.com/BaselHorany/ProgressStatusBar/blob/master/showtoastoreo.png?raw=true " width =" 360 " />
26+ </p >
27+
2228
2329## Setup
24301- Add jitpack.io repositories to you project ` build.gradle `
@@ -32,15 +38,13 @@ allprojects {
32382- Add it as a dependency to your app ` build.gradle `
3339``` groovy
3440dependencies {
35- compile 'com.github.BaselHorany:ProgressStatusBar:1.1.5 '
41+ compile 'com.github.BaselHorany:ProgressStatusBar:1.1.6 '
3642}
3743```
38- 3- Add ` SYSTEM_ALERT_WINDOW ` permission
44+ 3- Add ` SYSTEM_ALERT_WINDOW ` permission "unnecessary if your app's targetSdkVersion => oreo"
3945``` xml
40- <!-- for all android versions -->
46+ <!-- unnecessary if your app's targetSdkVersion => oreo -->
4147 <uses-permission android : name =" android.permission.SYSTEM_ALERT_WINDOW" />
42- <!-- in addition to this for oreo and above-->
43- <uses-permission android : name =" android.permission.ACTION_MANAGE_OVERLAY_PERMISSION" />
4448```
4549
4650## Usage
You can’t perform that action at this time.
0 commit comments