React-native-gifted-chat: How to change the background color of ListView ?

Created on 16 Mar 2018  路  2Comments  路  Source: FaridSafi/react-native-gifted-chat

Issue Description

Try to change the background color of ListView, but couldn't find any props to do that.

Most helpful comment

@dionbaby Found the style props to listview which is listViewProps. I change the listview background color by doing this:

listViewProps={{
  style: {
    backgroundColor: 'white',
  },
}}

All 2 comments

I am also trying to figure out how to change it.
My current solution is set __backgroundColor__ in styles.container in MessageContainer.js.

:((

@dionbaby Found the style props to listview which is listViewProps. I change the listview background color by doing this:

listViewProps={{
  style: {
    backgroundColor: 'white',
  },
}}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

maharjanaman picture maharjanaman  路  3Comments

pentarex picture pentarex  路  3Comments

Hayko1994 picture Hayko1994  路  3Comments

SytzeAndr picture SytzeAndr  路  3Comments

redwind picture redwind  路  3Comments