3

Can I change the right icon's overflow color from black to white?

Toolbar

Or is my only option the "overflowIcon" property?

overflowIcon optionalImageSource

Sets the overflow icon.

Community
  • 1
  • 1
Guy
  • 12,488
  • 16
  • 79
  • 119

2 Answers2

0

I use Icon.ToolbarAndroid from https://github.com/oblador/react-native-vector-icons instead of the standard RN ToolbarAndroid and it works for me hope this helps. Have not found any property that allows us to customise the standard icon color so far but if you want to use the standard component then i believe the only way to do this is by editing your styles.xml more here

enter image description here

Community
  • 1
  • 1
maniteja
  • 687
  • 2
  • 16
  • 32
0

Use https://github.com/oblador/react-native-vector-icons and set both overflowIconName and iconColor properties:

<Icon.ToolbarAndroid
  style={styles.toolbar}
  title={displayTitle}
  titleColor={textColor}
  iconColor={textColor}
  overflowIconName="more-vert"
  // ... more props
/>
Bruno Lemos
  • 8,847
  • 5
  • 40
  • 51