Skip to content

Commit b28894a

Browse files
author
Egor
committed
updating the README with instructions on how to change the status bar color when the splash screen is displayed
1 parent 4689cf7 commit b28894a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,16 @@ Open `android/app/src/main/res/values/styles.xml` and add `<item name="android:w
201201
**To learn more see [examples](https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples)**
202202

203203

204+
If you want to customize the color of the status bar when the splash screen is displayed:
205+
206+
Create `android/app/src/main/res/values/colors.xml` and add
207+
```xml
208+
<?xml version="1.0" encoding="utf-8"?>
209+
<resources>
210+
<color name="primary_dark"><!-- Colour of your status bar here --></color>
211+
</resources>
212+
```
213+
204214
### iOS
205215

206216
Customize your splash screen via LaunchImage or LaunchScreen.xib,

0 commit comments

Comments
 (0)