Change background color of Tabs in ActionBar in Sherlocks library in Android?

后端 未结 3 889
情话喂你
情话喂你 2021-01-17 05:40

I am working on Actionbar using Sherlock library. I want to change the Background Image of the Actionbar and Tabs differently. Currently I have changed the Background of the

3条回答
  •  青春惊慌失措
    2021-01-17 06:02

    To Change Actionbar Tab's color, Pls use this code:

    //For Example if you want White color as Tabs background, then

    getActionBar().setStackedBackgroundDrawable(new ColorDrawable(Color.parseColor("#FFFFFF")));
    

提交回复
热议问题