How to set title color in ActionBarSherlock?

前端 未结 5 696
余生分开走
余生分开走 2020-12-14 20:30

How to set title color in ActionBarSherlock?

Which theming attributes should I use?

5条回答
  •  太阳男子
    2020-12-14 20:51

    I think you are trying to change the text color that is on the Menu, not the color of text that is in the Title in ActionBarSherlock.

    When you use getSupportActionBar().SetTitle("My Title") to style this text you should use the code @Archie.bpgc. His answer is correct, but I believe that you are in need of the following code:

    
    

    See that you simply exchange parent =" TextAppearance.Sherlock.Widget.ActionBar.Title"> with parent = "TextAppearance.Sherlock.Widget.ActionBar.Menu">

提交回复
热议问题