This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # THIS IS example/android/app/build.gradle | |
| apply plugin: "com.android.application" | |
| import com.android.build.OutputFile | |
| /** | |
| * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets | |
| * and bundleReleaseJsAndAssets). | |
| * These basically call `react-native bundle` with the correct arguments during the Android build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { Text, View, StyleSheet, Image, ImageBackground, Platform } from 'react-native'; | |
| const backgroundImage = require('../assets/background.png') | |
| const iconCamera = require('../assets/camera_alt_white_48x48.png') | |
| const styles = StyleSheet.create({ | |
| addImage: { | |
| flexDirection: 'column', | |
| justifyContent: 'center', |
OlderNewer