This commit is contained in:
henrydays 2019-03-18 17:57:16 +00:00
commit 5637b43db9
3 changed files with 60 additions and 1 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

@ -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) {