diff --git a/App/app/Router.js b/App/app/Router.js index cdd6d7c8..511994d6 100755 --- a/App/app/Router.js +++ b/App/app/Router.js @@ -104,7 +104,10 @@ const AppStack = createBottomTabNavigator( }, { - initialRouteName: 'Home', + //initialRouteName: 'Home', + initialRouteName: 'Eventos', + + //initialRouteName: 'Calendário', tabBarOptions: { showLabel: true, // hide labels diff --git a/App/app/screens/Eventos.js b/App/app/screens/Eventos.js index 043d39c4..1c87c9b4 100644 --- a/App/app/screens/Eventos.js +++ b/App/app/screens/Eventos.js @@ -1,47 +1,96 @@ import * as React from "react"; -import { View, StyleSheet, Dimensions, Text, Button } from "react-native"; -import { TabView, TabBar, SceneMap } from "react-native-tab-view"; +import {View, StyleSheet, Dimensions, Text, Button, ScrollView} from "react-native"; +import {TabView, TabBar, SceneMap} from "react-native-tab-view"; + + +const SCREEN_HEIGHT = Dimensions.get("window").height; +const SCREEN_WIDTH = Dimensions.get("window").width; const FirstRoute = () => ( - + ); const SecondRoute = () => ( - + ); const ThirdRoute = () => ( - + ); const FourthRoute = () => ( - + ); -export default class Eventos extends React.Component { - state = { - index: 0, - routes: [ - { key: "first", title: "Festarola" }, - { key: "second", title: "Febrada" }, - { key: "third", title: "Rally" }, - { key: "fourth", title: "Peddy" } - ] - }; - render() { - return ( - -