score:0
try adding tintcolor
to your navigation options
static navigationoptions = {
title: navigation.state.params.title,
header: navigation => ({
titlestyle: {
color: '#ffffff'
},
tintcolor: '#f5fcff'
})
}
score:0
if you want to change the header color, then try this.
static navigationoptions = {
title: navigation.state.params.title,
headerstyle: {backgroundcolor:"red"}}
if you want to change the background color of the screen that is rendered then set
<view style={{backgroundcolor: 'red', flex:1}}> </view>
Source: stackoverflow.com
Related Query
- Change the background color of a screen with react native
- How to change the selected table row background color with React
- How to change the default screen background color of all the pages in React JS(Next JS) using tailwind CSS
- How to change background color of react native button
- Center a text in the screen with react native
- How can I change the color of a Link in React with Material-UI?
- How to make the background color of an app cover the entire screen (using style) in React Native?
- How to apply react-native-linear-gradient for the entire app background with React Native
- How to change the color of a active button only in react native
- randomly change the background color of a react app by a click
- Change page background color with each route using ReactJS and React Router?
- In React Is there a way to change the background color of a parent Label tag on a Radio Input checked?
- How to change the background and text color within button using button onClick in React JS
- Semantic React UI : is there a way to change the background color of a checkbox toggle?
- how to change background color when I click the button using react hooks
- How to change the background color of MUI Menu Popover of TextField with select property?
- change the color when onClick() with React
- how to change the background color of a button without affecting the other buttons in React JS
- ReactJS change the background color of the selected Navlink in a react bootstrap navbar
- Heading Component change text color based on the background in React / Gatsby / Styled-components
- Change Toolbar background color with react when body scolled
- How can I change the color of the text separately with react hooks?
- Attaching state change to the body background color of a React app?
- How can I apply classNames in react to change the background color of one of the child div in React
- How to change the progress bar background color dynamically in react material ui?
- How to change the color of a transparent background image's text in react native?
- react fails to inline change the background color of a button
- How to change the background color of th on click in react js?
- Adding animated effect of fading out with react after a click event to change background color
- Function to Randomly Change Background Color with React
More Query from same tag
- How to add React to an Express app?
- Adding an object to the array React; "TypeError: Cannot read property 'push' of undefined"
- NPM error when deploying react app to netlify
- Run Redux action only when two other actions were triggered
- Allow admin panel of react-firebase web app to only specific IP addresses?
- Reactjs - setting inline styles correctly
- React Django CORS not working : has been blocked by CORS policy
- How to fix 401 unauthorized status when logged in using the postman
- Calling State from another method in the class
- Not able to change padding of material UI Select component
- Where is ESLint cache stored?
- 'Button' is not defined react/jsx-no-undef react.js
- React & Typescript: Property 'id' does not exist on type 'number'
- Try-catch is not working for 400 errors in JS
- Show points on map with leaflet
- What is the purpose of "additionalItems" property on arrays in rjsf?
- Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{...}'
- get spesific ID customer from tables react-bootstrap-table2-toolkit
- React native send a message to specific whatsapp Number
- How can create uniqe value in map function? Its need for key value
- React clone an object from parent props keeps getting updated on re-render
- How to validate date inputs?
- Difference between function components and component classes?
- React Material UI Autocomplete highlight searched text in results
- Using enzyme, simulating keydown event is not working on element where event is dynamically added to element
- Papa parse returns Data array in which everything is converted to string
- Warning: flattenChildren(...): Encountered two children with the same key / Child keys must be unique
- How do test async components with Jest?
- JSX multi line of html block did not work
- Calling functions inside a map() function in React render()