Skip to content

Commit 17a39e0

Browse files
authored
Update README.md
1 parent b8b98c3 commit 17a39e0

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
77
Another 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
2430
1- Add jitpack.io repositories to you project `build.gradle`
@@ -32,15 +38,13 @@ allprojects {
3238
2- Add it as a dependency to your app `build.gradle`
3339
```groovy
3440
dependencies {
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

0 commit comments

Comments
 (0)