I have created the action bar by
ActionBar actionbar = getActionBar()
The background of the action bar is changed by
acti
Refer this, for customize action bar,