Changing color of items in menu

I have two items in my menu
1-Search
2-History

I want to keep the color of History as black as it will appear in drop down list
I want to keep color of Search as White as it will appear in toolbar

If i change the color ,the color of both of them gets changed
How can i change their color individually???

Create different themes for each menu item with the color you need and assign them to a particular menu item based on your requirement

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

In your case you need to add this following line in the themes.xml

<item name="android:actionMenuTextColor">@color/white</item>