enumerate android instructions properly

This commit is contained in:
Nick Hudkins 2015-10-01 10:16:16 -04:00
parent 2027e9c820
commit 770319f616
1 changed files with 3 additions and 3 deletions

View File

@ -24,13 +24,13 @@ A `<LinearGradient>` component for react-native, as seen in
#####Android
1. in `android/settings.gradle`
- 1. in `android/settings.gradle`
```
include ':app', ':react-native-linear-gradient'
project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android')
```
2. in `android/app/build.gradle` add:
- 2. in `android/app/build.gradle` add:
```
dependencies {
...
@ -38,7 +38,7 @@ dependencies {
}
```
3. and finally, in `android/src/main/java/com/{YOUR_APP_NAME}/MainActivity.java` add:
- 3. and finally, in `android/src/main/java/com/{YOUR_APP_NAME}/MainActivity.java` add:
```
...
import com.BV.LinearGradient.LinearGradientPackage; // <--- This!