Change navigation header background color
Paste this in your targeted screen
static navigationOptions = ({ navigation }) => {
return {
title: 'Screen Title',
headerTintColor: 'royalblue',
headerStyle: {
backgroundColor: '#fff'
}
}
}
This should work:
static navigationOptions = () => ({
title: 'My App',
headerTintColor: Colors.DarkBlue,
headerStyle: {
backgroundColor: 'red'
},
headerLeft:
<HeaderBarItem to='InfoScreen' title='App info' />,
headerRight:
<HeaderBarItem to='FeedbackScreen' title='Feedback' />
});