Change ActionBar Tabs background color

前端 未结 5 668
鱼传尺愫
鱼传尺愫 2020-12-18 23:23

Is there a way to change the background color of the tab bar in the ActionBar without changing it in the one line version?

To clarify what I want: In portrait mode t

5条回答
  •  遥遥无期
    2020-12-19 00:14

    ColorDrawable colorDrawable = new ColorDrawable(Color.White);
    actionBar.SetStackedBackgroundDrawable(colorDrawable);
    

    for xamarin folks.

提交回复
热议问题