android - ActionBar Style issue with itemTextAppearance -
I just want to do something that looks simple, changes the color of the menu item title in ActionBar.
I have seen that many people have the same problem, so I found that tested every solution even did not do any work!
Here's my code:
& lt; Style name = "appbashtheme" guardian = "Android: theme.lite" & gt; ... & lt; Item name = "Android: Actionbarstyle" & gt; @ Style / myactionbar & lt; / Item & gt; ... & lt; / Style & gt; & Lt; Style name = "MyActionBar" Basic = "@Android: Style / Widget.Holow light.actionbora" & gt; & Lt; Item name = "Android: Background" & gt; @color / blanket & lt; / Item & gt; & Lt; Item name = "android: itemTextAppearance" & gt; @ Style / text display & lt; / Item & gt; & Lt; / Style & gt; & Lt; Style name = "textAppearance" parent = "Android: Style / Text Appointment. Holo with. Actionbair title" & gt; & Lt; Item name = "android: textColor" & gt; #fffff & lt; / Item & gt; & Lt; / Style & gt; I want to change it:
Number 2 and 3, which are not symbols, but text till now the color of the text is only light brown, you can see on the icons of the picture above.
Obviously, there is something that I could not find right. If you have any ideas or suggestions, please tell me! Thanks!
If you want to change the color of the image, you will need to use a custom icon in the menu- & gt; ; Main.xml like this:
& lt; Android: title = "@ string / refresh" Android: visible = "wrong" HCL: Android: id = "@ + id / action_refresh" Android: icon = "@drawable / ic_action_reference" Android: showAsAction = "ifRoom | withText" Android: title = "@ string / refresh" ShowAction = "Egrem" /> Here is the link from which you can find Action Bar icon and modify from here and you can modify from here. .
Comments
Post a Comment