Native Base으로 내 React Native 앱을 개발 중입니다. 다음과 같이 간단한 로그인 양식이 있습니다.React Native - Footer button
보기
<Container>
<Content>
<InputGroup>
<Icon name="ios-person" style={{ color: '#969696' }} />
<Input placeholder="Email" autoFocus={ true} style={{ color: '#4b4b4b' }} />
</InputGroup>
<InputGroup>
<Icon name="ios-unlock" style={{ color: '#969696' }} />
<Input placeholder="Password" secureTextEntry style={{ color: '#4b4b4b' }} />
</InputGroup>
<Button style={ styles.loginButton}>
Login
</Button>
</Content>
</Container>
스타일
const styles = StyleSheet.create({
loginButton: {
alignSelf : 'stretch',
position: 'absolute',
bottom:0,
left:0,
backgroundColor : '#4990e2',
borderRadius : 0
}
});
출력
화면 하단에 로그인 버튼이 완전히 늘어나게하려면 어떻게해야합니까?
추 신 : 초심자입니다.