-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ef4668
commit b61703a
Showing
40 changed files
with
1,114 additions
and
142 deletions.
There are no files selected for viewing
This file contains 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<resources> | ||
|
||
|
||
<string name="app_name">MovieReview</string> | ||
</resources> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
rootProject.name = 'MovieReview' | ||
|
||
include ':app' | ||
include ':RNWebView', ':app' | ||
project(':RNWebView').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview-android/android') | ||
// include ':react-native-webview-android' | ||
// project(':react-native-webview-android').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview-android/android') | ||
include ':react-native-vector-icons' | ||
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') | ||
// include ':RNWebView', ':app' | ||
// project(':RNWebView').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview-android/android') | ||
include ':react-native-vector-icons' | ||
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') |
This file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,32 @@ | ||
import React, { Component } from 'react'; | ||
import { View, Text } from 'react-native'; | ||
import { View } from 'react-native'; | ||
import { Actions } from 'react-native-router-flux'; | ||
|
||
import {Container, Header, Title, Content, Text, Button, Icon } from 'native-base'; | ||
import styles from './styles'; | ||
export default class Home extends Component { | ||
render() { | ||
const goToPage = () => Actions.page({text: 'Hello World!'}); | ||
return ( | ||
<View style={{margin: 128}}> | ||
<Text onPress={goToPage}>This is Page !</Text> | ||
</View> | ||
<Container style={{backgroundColor: '#565051'}}> | ||
<Header style={{backgroundColor: '#322A2A'}} foregroundColor="#fff" > | ||
<Button disabled transparent> | ||
<Icon name="ios-arrow-back" /> | ||
</Button> | ||
|
||
<Title>Home</Title> | ||
|
||
<Button transparent onPress={this.props.openDrawer}> | ||
<Icon name="ios-menu" /> | ||
</Button> | ||
</Header> | ||
|
||
<Content padder> | ||
<Text style={styles.text}>Welcome!</Text> | ||
<Button style={styles.text} onPress={() => this.replaceRoute('login')}> | ||
Logout | ||
</Button> | ||
</Content> | ||
</Container> | ||
) | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,8 @@ | ||
'use strict'; | ||
|
||
import React, { Component } from 'react'; | ||
import { | ||
AppRegistry, | ||
StyleSheet, | ||
Text, | ||
View, | ||
Navigator, | ||
WebView, | ||
TouchableHighlight | ||
}from 'react-native'; | ||
import { AppRegistry } from 'react-native' | ||
import setup from './js/setup' | ||
|
||
import { Router, Scene } from 'react-native-router-flux'; | ||
import Page from './components/page'; | ||
import Home from './components/home'; | ||
// AppRegistry.registerComponent('MovieReview', () => MovieReview); | ||
AppRegistry.registerComponent('MovieReview', setup); | ||
|
||
|
||
var MovieReview = React.createClass({ | ||
render() { | ||
return ( | ||
<Router sceneStyle={{backgroundColor:'#b2d8d9'}}> | ||
<Scene key="root" navigationBarStyle={{backgroundColor:'#36A99E'} } titleStyle={{color:"white"}}> | ||
<Scene key="home" component={Home} title="Home" initial={true} /> | ||
<Scene key="page" component={Page} title="Page" /> | ||
</Scene> | ||
</Router> | ||
) | ||
} | ||
|
||
}); | ||
|
||
|
||
var styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
marginTop:60 | ||
}, | ||
button: { | ||
height: 50, | ||
backgroundColor: '#ededed', | ||
marginTop: 10, | ||
justifyContent: 'center', | ||
alignItems: 'center' | ||
}, | ||
containerWebView: { | ||
flex: 1, | ||
}, | ||
navigate:{ | ||
backgroundColor: '#2CC0B3' | ||
} | ||
}); | ||
|
||
AppRegistry.registerComponent('MovieReview', () => MovieReview); |
Oops, something went wrong.