Hi! Thanks for trying out NativeBase!
Due to the overwhelming requests and issues/questions we ask you to add the following details with your issue.
Please check the existing open/closed issues for a possible duplicate before creating a new issue :)
Also DO fill out the below form to give us a better idea about your environment and help us debug it quicker. Issues without the required details will mostly be unattended to.
2.0.1
0.54.0
Normal header, content and footer!
Extra space at the top of the screen :neutral_face:
This is DOCS example
import React, { Component } from 'react';
import { Container, Header, Title, Content, Footer, FooterTab, Button, Left, Right, Body, Icon, Text } from 'native-base';
export default class AnatomyExample extends Component {
render() {
return (
<Container>
<Header>
<Left>
<Button transparent>
<Icon name='menu' />
</Button>
</Left>
<Body>
<Title>Header</Title>
</Body>
<Right />
</Header>
<Content>
<Text>
This is Content Section
</Text>
</Content>
<Footer>
<FooterTab>
<Button full>
<Text>Footer</Text>
</Button>
</FooterTab>
</Footer>
</Container>
);
}
}
i've got android, galaxy s7 edge, android 7.0
Latest version of native base is installed!
@MohamadKh75 Checked the example. It is working fine. If you are using react-navigation, try setting the header to null.
@akhil-geekyants Thanks!
static navigationOptions = {
header: null,
};
solved the problem!
Most helpful comment
@akhil-geekyants Thanks!
solved the problem!