Light.DarkActionBar menu item text colour unchangeable?

后端 未结 6 1052
轻奢々
轻奢々 2021-02-01 19:34

The application I\'ve been developing uses ActionBarSherlock, and the main theme inherits from Theme.Sherlock.Light.DarkActionBar. The design requires that the overflow menu pop

6条回答
  •  萌比男神i
    2021-02-01 19:48

    I think that due to the fact that Theme.Sherlock.Light.DarkActionBar don't style its contents right is due to the actionWidgetTheme attribute is used with a ContextThemeWrapper for inflating the action bar views (Jake Wharton's own words), thus something like the following (not tested) will be needed to fulfill your needs, though breaking your need of not using Theme.Sherlock as parent in one way:

    
    
    
    

    Might work or not work. That's the question :)

提交回复
热议问题