Escolar Documentos
Profissional Documentos
Cultura Documentos
<View>
<View style={{marginTop: 20, flex: 1, flexDirection: 'row', alignItems: 'stretch', width: 100, height:
50, backgroundColor: 'green'}}>
Dica do professor:
em row => alignItems: linha justifyContent: coluna
em column => alignItems: coluna justifyContent: linha
<Text>
<Text style={{color: 'red', fontSize: 25, margin: 15, textAlign: 'center'}}>
Sujeito Programador
</Text>
<Button>
<Button title='Entrar' onPress={() => this.entrar('Matheus')} onPress={this.entrar}/>
<Image>
<Image
source={{uri: img}}
style={{width: this.props.largura, height: this.props.altura}}
/>
<TextInput>
<TextInput
style={styles.input}
placeholder="Digite o seu nome"
underlineColorAndroid="transparent"
onChangeText={this.pegaNome}
onChangeText={(texto) => this.setState({input: texto})}
/>
height: 45,
borderWidth: 1,
borderColor: '#222',
margin: 10,
fontSize: 20,
padding: 10,