From ca24bee27faf29b923d08848c74f91c2a2c0a403 Mon Sep 17 00:00:00 2001 From: Akshay Kadam Date: Thu, 28 Sep 2017 10:04:16 +0530 Subject: [PATCH] Format Code Blocks --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d04031ec..ebddb767 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,14 @@ Run `npm i react-native-splash-screen --save` **Android:** 1. In your android/settings.gradle file, make the following additions: -``` +```java include ':react-native-splash-screen' project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android') ``` 2. In your android/app/build.gradle file, add the `:react-native-splash-screen` project as a compile-time dependency: -``` +```java ... dependencies { ... @@ -163,7 +163,7 @@ Import `react-native-splash-screen` in your JS file. 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: -``` +```xml