Change the color of the text in Toolbar menu

moskis

I was spending some hours trying to change the color of the text in the menu in the toolbar.

The example. I have this toolbar:

enter image description here

I can change the color of the arrow and the tree dots with

<item name="colorControlNormal">@color/my_awesome_color</item>

I change the colors of the toolbar with:

    <item name="colorPrimary">@color/color_primary</item>

  <!-- colorPrimaryDark is used for the status bar (with the
       battery, clock, etc). -->
  <item name="colorPrimaryDark">@color/color_primary_dark</item>

   <!-- colorAccent is used as the default value for
        colorControlActivated which is used to tint widgets. -->
  <item name="colorAccent">@color/color_accent</item>

And the popupmenu defining a theme for the app:popuptheme atribute of the toolbar, but I cant change the color of the action menu with the text "Example". How can I do this?

Thanks in advance :)

Pooja

I hope I am not late to answer this.

Set

<item name="actionMenuTextColor">@color/YourColor</item> 

in your styles.xml to change menu item text color.

I hope this help.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Android toolbar overflow menu change text color and fill menu to the screen

From Dev

Toolbar Text Color not change

From Dev

How to change title text and buttons color WITHOUT changing action overflow menu text color in new Toolbar?

From Dev

How to change Menu indicator color in activity ToolBar

From Dev

changing overflow menu toolbar text and background color

From Dev

How to change change text and arrow color on Toolbar?

From Dev

How to change toolbar menu item text color for pre Lollipop and Lollipop versions

From Dev

How to change the color of menu text?

From Dev

Change the text color of the popup menu

From Dev

Change text color in toolbar / action bar, android?

From Dev

How to Change text color on AppCompatSpinner in Toolbar?

From Dev

Change Toolbar Menu Item color (non-hidden action)

From Dev

Android change popup menu text color

From Dev

How to change text color on OnMouseHover in a Dropdown Menu

From Dev

How to change the text color of context menu item

From Dev

Android change popup menu text color

From Dev

¿Change text color main menu android?

From Dev

Change title color in toolbar?

From Dev

Android Toolbar color change

From Dev

Android: Toolbar Text color

From Dev

Toolbar options menu background color

From Dev

Android toolbar menu - change dynamically

From Dev

Android toolbar menu - change dynamically

From Dev

Change toolbar back arrow color

From Java

Change Toolbar color in Appcompat 21

From Dev

Change Toolbar Background Color and Title

From Dev

Can't change the color of toolbar

From Dev

How to change SFSafariViewController ToolBar color

From Dev

Change Toolbar overflow icon color

Related Related

HotTag

Archive