Am learning react-native, trying to create a menu docked at the bottom of a screen. Is there a way i can display the screen content in the ScrollView docked at the top of navigation menu like this messenger menu ? When messages image is tapped, display messages screen content in the same page.
return (<View style={styles.container}>
<ScrollView>
<Text style={styles.content}>
{this.state.content}</Text>
</ScrollView>
<View style={styles.footer}>
<TouchableOpacity onPress={this.navigateMessage}>
<Image source={require('../img/messages.png')} style={[
styles.tabIcon, {
tintColor: this.state.messagesTint
}
]}/>
</TouchableOpacity>
<TouchableOpacity onPress={this.navigateContacts}>
<Image source={require('../img/contacts.png')} style={[
styles.tabIcon, {
tintColor: this.state.contactsTint
}
]}/>
</TouchableOpacity>
</View>
</View>);