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 Actionbar successfully via codes at runtime:
Drawable myIcon = getResources().getDrawable(R.drawable.blue_menu_background);
mActionBar.setBackgroundDrawable(myIcon);
But I am getting problem with the Tab background. How can I change the Background of Tabs. Please suggest me.
Instead of doing that, you can use Style for Tabs:
check this article for more details.
you can use this code:
To Change Actionbar Tab's color, Pls use this code:
//For Example if you want White color as Tabs background, then