Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to change overflow icon color?

See original GitHub issue

Hi there,

I was having a hard time figuring out how to “tint” the actions in ToolbarAndroid. Is this possible? Or does it rely on the color of the png provided?

Is it possible to supply our own <View> as component to toolbar. I tried this but it broke the collapsing. 😦

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

cesardeazevedocommented, Mar 13, 2018

ok, i got it, there’s isn’t way out the box to change the overflow icon color, there’s a few possibilities.

  1. Using a custom png image.
<ToolbarAndroid overflowIcon={require('image.png')} />
  1. Requesting an icon directly from the react-native-vector-icons (recommended)
import Icon from 'react-native-vector-icons/Ionicons'

componentDidMount() {
    Icon.getImageSource('md-more', 24, '#ffffff').then((source) => {
      this.setState({ icon: source })

  actions={[{ title: 'Show' }, { title: 'Hide' }]}
  1. Setting the color directly on the styles.xml
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <!-- Customize your theme here. -->
    <item name="android:textColorSecondary">@android:color/white</item>

Be aware that this method may effect other parts of your app.

I will close this issue since there’s no relation to this package itself, i hope it helps.

cesardeazevedocommented, Mar 13, 2018

Not sure if i got it, but are you trying to add a background on the dropdown actions menu?

screen shot 2018-03-13 at 15 32 19

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - AppCompat Toolbar: Change Overflow Icon Color in ...
To correctly change the color of your toolbar's overflow menu icon, set your toolbar's theme to an AppCompat dark ActionBar theme. For example:....
Read more >
How to change color of the overflow button in the main toolbar?
Overflow button has white color by default. We'll explain how to change this default color to better fit your theme below.
Read more >
The curious case of the Overflow Icon Color | by Martin Bonnin
How come there is no java method like setOverflowIconColor() to change the color of the icon ? This is one of my biggest...
Read more >
How to change popup overflow icon color for action bar ...
first you have to define the color (or you can use one of those that are already defined). app\App_Resources\Android\src\main\res\values-v21\colors.xml
Read more >
Android: Changing the Toolbar's text color and overflow icon ...
That toolbar theme specifies a textColorPrimary and textColorSecondary to change the color of the title text and of the menu overflow button.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found