How to change ActionBar title font when using AppCompat

后端 未结 3 799
时光取名叫无心
时光取名叫无心 2021-02-02 00:06

I would like to apply custom font to the title of my app which is displayed on the ActionBar. Previously I didn\'t use any support library and this solution:

int         


        
3条回答
  •  悲&欢浪女
    2021-02-02 00:29

    prepare Custom Layout ,put text view in action_bar_layout and then call actionbar.setcustomlayout()

提交回复
热议问题