Closed taeyzzz closed 6 years ago
Hello
i try to make footer like this
this is my code
import { Button, Icon, Footer, FooterTab, ActionSheet } from 'native-base';
<Footer style={this.getFooterStyle()}> <FooterTab style={styles.header}> <Button vertical onPress={() => this.props.navigation.navigate('HomeDashboardStack')} > <Icon name="home" style={this.getActiveStyle(0)} active={this.props.navigationState.index === 0} /> </Button> <LinearGradient start={{x: 0.0, y: 0.25}} end={{x: 1.0, y: 1.0}} colors={['#32799f', '#49b8ac', '#53d6a7']} style={styles.linearGradient} > <TouchableOpacity onPress={() => this.selectImage()} style={styles.diagnoseBtn} > <Icon name="camera" style={{color: 'white'}}/> </TouchableOpacity> </LinearGradient> <Button vertical onPress={() => this.props.navigation.navigate('CaseProfileStack')} > <Icon name="people" style={this.getActiveStyle(1)} active={this.props.navigationState.index === 1} /> </Button> </FooterTab> </Footer>
In IOS I think it's good for now
"native-base": "^2.4.4", "react": "16.2.0", "react-native": "0.55.4", "react-navigation": "^1.0.0-beta.11",
@taeyzzz see this issue https://github.com/GeekyAnts/NativeBase/issues/1260
@akhil-geekyants Thank you so much
Hello
i try to make footer like this
this is my code
this is result
In IOS I think it's good for now
But in Android circle camera look weird
I would like to know the solution to fix this or someone can guide how to create footer like the first picture
react-native, react and native-base version
"native-base": "^2.4.4", "react": "16.2.0", "react-native": "0.55.4", "react-navigation": "^1.0.0-beta.11",
Thank you