Skip to content

Commit f3f1d16

Browse files
authored
Update README.md
- Added some code blocks for filenames - Added a path for color.xml - Added a link to the license file in the "MIT Licensed" text - The step for adding primary dark to the color.xml file was rephrased so it sounds mandatory.
1 parent a6ab78b commit f3f1d16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Run `npm i react-native-splash-screen --save`
4545

4646
**Android:**
4747

48-
1. In your android/settings.gradle file, make the following additions:
48+
1. In your `android/settings.gradle` file, make the following additions:
4949
```java
5050
include ':react-native-splash-screen'
5151
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android')
@@ -181,7 +181,7 @@ You can create splash screens in the following folders:
181181
* `drawable-xxhdpi`
182182
* `drawable-xxxhdpi`
183183

184-
To modify the status bar color, you can add a color called primary_dark in color.xml
184+
Add a color called `primary_dark` in `app/src/main/res/values/color.xml`
185185

186186
```
187187
<?xml version="1.0" encoding="utf-8"?>
@@ -238,7 +238,7 @@ SplashScreen.show(this, false, R.style.SplashScreenTheme);
238238

239239
### iOS
240240

241-
Customize your splash screen via LaunchImage or LaunchScreen.xib,
241+
Customize your splash screen via `LaunchImage` or `LaunchScreen.xib`,
242242

243243
**Learn more to see [examples](https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples)**
244244

@@ -275,4 +275,4 @@ Pull requests are welcome. If you want to change the API or do something big it
275275

276276
---
277277

278-
**MIT Licensed**
278+
**[MIT Licensed](https://github.com/crazycodeboy/react-native-splash-screen/blob/master/LICENSE)**

0 commit comments

Comments
 (0)