You will often encounter a change to the color of the menu font, and you will encounter one today. There is a menu on the action that is black and wants to change to white. Methods are as follows
<stylename= "Email.theme"Parent= "@android: Style/theme.funui"> <Itemname= "Android:windowfullscreen">True</Item> <Itemname= "Android:actionbarstyle">@style/actionbar_def_style</Item> <Itemname= "Android:actionmodestyle">@style/actionmode_def_style</Item> <Itemname= "Android:checkboxstyle">@style/email.theme.checkbox</Item><!--Add this property.
<Itemname= "Android:actionmenutextcolor">@color/action_menu_text_color_funui</Item> <Itemname= "Android:alertdialogtheme">@style/email.theme.dialog.alert</Item> </style>
Explain:
The so-called Actionbarmenu is actually the ordinary menu, but it added a property, is to let android:showasaction= "Always|ifroom"
There is no difference between the other and the normal menu. However, this <item name= "Android:actionmenutextcolor"> @color/action_menu_text_color_funui </Item>
It just seems to change the menu in this state.
Android-actionbarmenu Font Color modification