event detail

This commit is contained in:
João Borges 2019-03-18 17:39:25 +00:00
parent eb543397a2
commit 4428506244
4 changed files with 62 additions and 3 deletions

View File

@ -190,7 +190,9 @@ class App extends Component {
title={"Fechar Scan"}
color={"#CC1A17"}
></Button>
<Text style={{textAlign:'center', fontSize:12, margin:10,marginBottom:5, color:'white'}}>Sim, o quadrado não está centrado. Era para testar a tua atenção!</Text>
<Text style={{textAlign:'center', fontSize:12, margin:10,marginBottom:5, color:'white'}}>
Sim, o quadrado não está centrado. Era para testar a tua atenção!
</Text>

View File

@ -106,6 +106,7 @@ const AppStack = createBottomTabNavigator(
},
{
// initialRouteName: 'Home',
initialRouteName: 'Home',
tabBarOptions: {

View File

@ -266,7 +266,7 @@ _creatTeam=()=>{
</View>
</View>
</View>
{ this.props.team=='none' &&
{ this.props.team != 'none' || this.props.team !== undefined &&
<View style={{backgroundColor:'white', margin:10}}>
<View style={{backgroundColor:'#CC1A17'}}>
<Text style={{ fontSize: 18,
@ -334,7 +334,7 @@ _creatTeam=()=>{
</View>
}
{
this.props.team!='none' &&
(this.props.team!='none' || this.props.team !== undefined)&&
<View>
<View

View File

@ -17,7 +17,24 @@ export default class rallyTascas extends React.Component {
render() {
return (
<View>
<View style={styles.headerRow}>
<View style={styles.leftRow}>
<Text styles={styles.headerText}>
ndjiew
</Text>
</View>
<View style={styles.rightRow}>
<Text style={styles.headerText}>
rfmeof
</Text>
</View>
</View>
<ScrollView horizontal style={}>
</ScrollView>
<ScrollView>
</ScrollView>
</View>
)
@ -25,6 +42,45 @@ export default class rallyTascas extends React.Component {
}
}
const styles = StyleSheet.create({
headerRow: {
flex: 1,
flexDirection: "row",
},
headerText: {
fontSize: 15,
color: "#CC1A17",
fontWeight: "bold",
},
centerRow: {
alignItems: "center",
backgroundColor: "transparent",
flex: 3,
flexDirection: "column",
justifyContent: "center"
},
leftRow: {
backgroundColor: "transparent",
flex: 1,
flexDirection: "row",
justifyContent: "flex-start",
alignSelf: "center"
},
rightRow: {
alignItems: "flex-end",
backgroundColor: "transparent",
flex: 2,
flexDirection: "row",
justifyContent: "flex-end",
marginRight: 4,
alignSelf: "center"
},
});
function mapStateToProps(state, props) {