Skip to content

Commit 4ba298a

Browse files
authored
Merge pull request #103 from deadcoder0904/master
Format Code Blocks
2 parents 6937695 + ca24bee commit 4ba298a

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
@@ -46,14 +46,14 @@ Run `npm i react-native-splash-screen --save`
4646
**Android:**
4747

4848
1. In your android/settings.gradle file, make the following additions:
49-
```
49+
```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')
5252
```
5353

5454
2. In your android/app/build.gradle file, add the `:react-native-splash-screen` project as a compile-time dependency:
5555

56-
```
56+
```java
5757
...
5858
dependencies {
5959
...
@@ -163,7 +163,7 @@ Import `react-native-splash-screen` in your JS file.
163163
164164
Create a file called `launch_screen.xml` in `app/src/main/res/layout` (create the `layout`-folder if it doesn't exist). The contents of the file should be the following:
165165
166-
```
166+
```xml
167167
<?xml version="1.0" encoding="utf-8"?>
168168
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
169169
android:orientation="vertical" android:layout_width="match_parent"
@@ -211,7 +211,7 @@ Customize your splash screen via LaunchImage or LaunchScreen.xib,
211211

212212
Use like so:
213213

214-
```JavaScript
214+
```javascript
215215
import SplashScreen from 'react-native-splash-screen'
216216

217217
export default class WelcomePage extends Component {

0 commit comments

Comments
 (0)